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 ? | 33 Yes | 2 No |
Post New Answer View All Answers
Explain about LMFREE�free data set from its association with data ID
How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.
How to pass data to a program that is coded in an exec statement?
Why include statement is used in a jcl?
What are steplib and joblib? What for they are used?
Matching Logic in Jcl not in cobol.Could any one please answer this question
How is the record format of an output dataset specified?
what are JCLLIB and STEPLIB in JCL?
Does jcl support automatic restart?
how do you code a null statement?
Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?
For what purpose steplib and joblib are used ?
What is the significance of addrspc parameter in exec statement?
what is the compile process of cobol program expalin with code
Where & How Do You Code Identifier In Jcl?