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


Please Help Members By Posting Answers For Below Questions

what sort card you will use to copy the data from one dataset to another dataset?

722


How to override loadlib?

1417


How gdg are concatenated?

668


When output dataset space is required, what quantity categories are used?

822


Explain how can the disposition of sysout datasets be set for an entire jobstream?

634






In sms datasets, what is the function of the dd mgmtclas keyword?

857


What is the purpose of disp parameter?

635


Differentiate between the joblib and the steplib statements?

855


what is the compile process of cobol program expalin with code

1996


Explain the function of the dd dcb keyword?

694


Is condition checking possible in jcl? If yes, how?

735


How can the disposition of sysout datasets be set for an entire jobstream?

834


How can a fb file convert to vb file using sort program?

802


How to pass data to a program that is coded in an exec statement?

818


what is the use of IEBGENER utility?

654