Hello,
Can some one give the sample JCL to execute console commands as batch job.
I need to execute around 50+ commands.
Thanks,
Robert Sample wrote:In JES3, you can usewhich allows continuation of the command past a single line. In general,// COMMAND '<command>'will issue a console command -- as long as your user id has the appropriate authority to issue the command.// <cmmand>
Note that console commands are issued immediately -- you cannot, for example, put a console command AFTER executing a program and expect the program to complete before the console command is issued; the program will execute after (or while) the console command is run.
Robert Sample wrote:In JES3, you can usewhich allows continuation of the command past a single line. In general,// COMMAND '<command>'will issue a console command -- as long as your user id has the appropriate authority to issue the command.// <cmmand>
Note that console commands are issued immediately -- you cannot, for example, put a console command AFTER executing a program and expect the program to complete before the console command is issued; the program will execute after (or while) the console command is run.
bazzigar wrote:Is there any way I can submit as set of comands with utilitY CONSCMD.
With out passing the commands as PARM. eg: STEP1 EXEC PGM=CONSCMD,PARM='D IPLINFO'