If there are five steps in a JCL i have to execute the 3rd
step, bypass the 4th step and execute the 5th step how do i
do this?
Answer Posted / sreelatha
//jobname positional parms,keyword parms,.... Restart=step3
//..
//..
//..
//step3 exec=xxxx
//...
//step4 exec=yyyy,cond=(0,Le,step3)
//..
//step5 exec=zzzz
Restart =step 3 executes step3.Step 3 gives some return
code.In step 4,the test is passed as 0 is less than step
3.So step 4 is bypassed and is not executed. and the
program is responsible for issuing the return code that
was not even loaded in the main storage.
The result: no return code can exist
In the steps that follow any test of COND parameter tat
attempts to interrogate this non-existent return
code will be ignored . Step 5 will be e executed.
| Is This Answer Correct ? | 34 Yes | 2 No |
Post New Answer View All Answers
I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?
Is it possible to define dd statements as you want?
How can the submitting users racf authority be overridden in a job stream?
How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?
How to pass the parameter in parm using linkage section ? (syntax)?
What are the rules employed while naming the steps in a job?
How would you understand error(execution phase)?
How jcl work to handle various input output file operations?
what is the purpose of coding notify parameter in job statement?
Explain the purpose of dd dummy statement?
Is it possible to left uncode disp? If yes, how?
how to compare two datasets without using superce because output is limited to 133 bytes
The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The disp in the JCL is SHR and the pgm opens the file in EXTEND mode. What happens ?
Explain how can the disposition of sysout datasets be set for an entire jobstream?
Explain about ISPF/TSO Commands