SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Call JAL script with parameters

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Call JAL script with parameters
Author Message
Shahrukh



Joined: 23 Oct 2004
Posts: 6

Post Call JAL script with parameters Reply with quote

Dear All - I am a brand new entree to the JAL family.
I have written a JAL code that executes each time
it finds a file in a specific folder. Once it finds
the file, I wish to call another JAL program with
the found file name & some other keys as the paramter.

Example:
JAL-A
...
CALL JAL-B parm filename, jobnumber, jobname
...
...
Exit

The JAL-B will receive my parameters and execute
the code accordingly.
The next statement in JAL-A, after the "CALL" should be performed
only after JAL-B is over.

Pls H E L P.

Regards


Sat Oct 23, 2004 9:13 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7969

Post Re: Call JAL script with parameters Reply with quote

Click Tools menu in the scheduler then click Script Libary. Click New button and define a new JAL statement with 3 parameters:
string filename, number jobnumber, string jobname

When you are done with the statment you can call it from your JAL-A script as if it was a built-in command

: Dear All - I am a brand new entree to the JAL family.
: I have written a JAL code that executes each time
: it finds a file in a specific folder. Once it finds
: the file, I wish to call another JAL program with
: the found file name & some other keys as the paramter.

: Example: JAL-A
: ...
: CALL JAL-B parm filename, jobnumber, jobname
: ...
: ...
: Exit

: The JAL-B will receive my parameters and execute
: the code accordingly.
: The next statement in JAL-A, after the "CALL" should be performed
: only after JAL-B is over.

: Pls H E L P.

: Regards

Sat Oct 23, 2004 10:05 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.