SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Parameter in Shortcut

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Parameter in Shortcut
Author Message
Jason



Joined: 29 May 2001
Posts: 27

Post Parameter in Shortcut Reply with quote

Can I specify a parameter to a JAL job from a shortcut. I want to pass the parameter from outside the job. For example 24x7.exe /job 1 /parameter xxx.

Thanks.

Fri Apr 07, 2006 10:13 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7966

Post Re: Parameter in Shortcut Reply with quote

Sorry, you cannot use that method. but what you can do is starting a job from a little batch file like below
SET MyVar=1
24x7.exe /JOB 1

Then in the job you can use macro parameters (@V"env:MyVar") to obtain the value of MyVar environment variable.

Of couse if you modify the batch as below

SET MyVar=%1
24x7.exe /JOB 1

you can pass the value dynamically as a command line parameter to the batch.

: Can I specify a parameter to a JAL job from a shortcut. I want to pass the
: parameter from outside the job. For example 24x7.exe /job 1 /parameter
: xxx.

: Thanks.

Fri Apr 07, 2006 10:40 am 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.