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
|