The parameter should be passed to the JCL in job card for the unlimited time, irrespective of the job class:
TIME=1440
Submitting a JCL through Cobol program
Use a file //DD1 DD sysout=(*,intrdr) write your JCL to this file.
COND parameter in JCL.
COND means condition parameter. It is compared with system return code of previous step.
Consists of 2 subparameters,
1st - return code from the previous step,
2nd - condition. If COND is true, the step on which COND is coded will be BYPASSED.
Example:
//step1 exec pgm=abcd
//step2 exec pgm=xyz, cond=(4,lt) step2 will be executed when system return code of step1 is less than 4. Which will be helpful to run/bypass/stop to the specific step.
TIME=1440
Submitting a JCL through Cobol program
Use a file //DD1 DD sysout=(*,intrdr) write your JCL to this file.
COND parameter in JCL.
COND means condition parameter. It is compared with system return code of previous step.
Consists of 2 subparameters,
1st - return code from the previous step,
2nd - condition. If COND is true, the step on which COND is coded will be BYPASSED.
Example:
//step1 exec pgm=abcd
//step2 exec pgm=xyz, cond=(4,lt) step2 will be executed when system return code of step1 is less than 4. Which will be helpful to run/bypass/stop to the specific step.
No comments:
Post a Comment