there are 10 steps in jcl how to execute the steps from
step2 to step8 only

Answer Posted / suputhru

AAA BHAI LOOG, First understand the requirement.

1.we can't code COND=(0,LE) for first step.
here we can use COND=only,
2.for not execution of 9 and 10 use COND=(0,LE)

else direct answer: IEBEDIT utility.
Incude 2 to 8 stepnames.

ex:

//STEP001 EXEC PGM=IEBEDIT
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD DSN=XXX.GENERAL.STUDY(TEST001),DISP=SHR
//SYSUT2 DD SYSOUT=(A,INTRDR)
//SYSIN DD *
EDIT TYPE=INCLUDE, STEPNAME=(STEP001,STEP002,...STEP008)
/*

Similarly, we can use TYPE=EXCLUDE to exclude the steps from exec.

Is This Answer Correct ?    6 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to alter the parameters for the existing gdg?

714


What is the purpose of dd * statement in jcl?

812


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

737


How to run cobol program using jcl?

652


What is the format of comment statement?

669






What is the use of symbol // in jcl?

930


Name what parameter directs the output of the job log dataset?

563


What is the significance of addrspc parameter in the exec statement?

620


What is the use of disp parameter?

653


how do you access an uncataloged dataset in a jcl?

841


What are the parameter we cannot use in procedure?

640


What is job control language?

611


Differentiate between addressing mode and run mode.

615


What do you understand by the term “keyword” with respect to jcl and what is the opposite of the term?

679


When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?

748