SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Using Windows environment variables?

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Using Windows environment variables?
Author Message
Kurt Mang



Joined: 03 Jan 2003
Posts: 1

Post Using Windows environment variables? Reply with quote

I would like to use Windows environment variables to
make my schedule portable to other machines ...
I have defined a SYSTEM-level variable pointing to
my Oracle /bin directory, let's say:

ora_path = C:\oracle\ora9i\bin

... and I wish to use this variable in a program run
statement, e.g.

%ora_path%\SQLLDR.EXE parfile='%par_path%\parfile.par' control='%ctl_path%\ctlfile.ctl'

However, not working right now. Is there any way
of doing this?

Thanks!

Kurt Mang
Vancouver, BC Canada

Fri Jan 03, 2003 2:01 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7966

Post Re: Using Windows environment variables? Reply with quote

You can create a little batch file containing just %ora_path%\SQLLDR.EXE parfile='%par_path%\parfile.par'
control='%ctl_path%\ctlfile.ctl' command and schedule this batch file to run.

: I would like to use Windows environment variables to
: make my schedule portable to other machines ...
: I have defined a SYSTEM-level variable pointing to
: my Oracle /bin directory, let's say: ora_path = C:\oracle\ora9i\bin

: ... and I wish to use this variable in a program run
: statement, e.g.

: %ora_path%\SQLLDR.EXE parfile='%par_path%\parfile.par'
: control='%ctl_path%\ctlfile.ctl'

: However, not working right now. Is there any way
: of doing this?

: Thanks!

: Kurt Mang
: Vancouver, BC Canada

Fri Jan 03, 2003 2:23 pm View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.