I have a JCL with 10 steps, want to execute first 5 steps
only, what are ways of doing it?is it possible to control
through JOB card?

Answer Posted / zos13

One more Answer:

If you are good with IDCAMS, then in step5 or (add 1 more step
With name step5r after step 5 and before step6) supply

//step5r exec pgm=IDCAMS
//sysin dd *

SET MAXCC = 16
/*
in Job card, use : COND=(16,EQ).

It will execute till step5 successfully, at step5r it will acquire MAXCC=16, Condition in JOB card is true, all steps will be bypassed after5.
**If you can't create new STEP5r, then please use SYSIN DD * in step5, it is same thing*****

You may also use RC in place of MAXCC.

Please reply here if it works for you or at: thespider390@hotmail.com

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the difference between JES3 and JES2?

673


Is it possible to code instream data in a PROC?

743


How does jcl specify the job to the operating system?

745


Explain the function of //jcllib statement?

698


Why block size is multiple of lrecl in jcl?

908






how to compare two datasets without using superce because output is limited to 133 bytes

1476


I have a COBOL program that ACCEPTs some input data. How do you code the JCL statement for this?

691


What is the function of the dd mgmtclas keyword in sms datasets?

730


What is jcl in mainframe, and how many types of jcl statements are there for a job?

626


Can anybody tell what is tool used to generate the list of PROCS used in JCL to generate a PROCTREE

1960


How is a type of file defined in the jcl that executes the cobol program?

705


if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?

1611


What is the purpose of dd?

721


in a jcl, a large volume dataset is loaded to a table using bmcload in step1 and an image copy of the loaded table is taken using bmccopy in step2. Step2 abends because the image copy dataset cannot hold the volume of the table. How can this be rectified?

816


IIN APITUDE THEY GAVE ONLY 10 QUESTIONS.. THEY ARE SIMPLE ONE FROM NUMBER SERIES,BOATS,TIME & DISTANCE,PROFIT &LOSS,FIND OUT THE NUMBER ? 9 25 4 36 81 64 49 AND surveillance SPELLINGS E.T.C

1625