i have 10 steps in jcl program but i have to exicute only
2,4,6,8th and 10th ?how it's possible?

Answer Posted / druks

It , depends on you having the JCL in a proc or are running it instream (simpler option) , you can delete the steps you do not require and run job'
Proc : in the EXEC JCL
Job statement put a RESTART Parm ,
in the EXEC JCL .
//stepa exec procname,cond=(1111,ne,stepxxx),cond=(1111,ne,stepxx1)
stepxxx ,stepxx1 step you want to exclude

Is This Answer Correct ?    0 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is there any command to check wether the ps file is in sorted order?

2417


State the uses of syspring, sysin, sort fields, sum fields and dummy.

635


What does it mean by Restart and Checkpoint in JCL ? How are checkpoints being taken and what is their usage ? How to use Checkpoint macro on a JOBSTEP ?

9199


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

810


Explain how can the attributes of one sms dataset be copied to another dataset?

694






Explain the function of the dd dcb keyword?

686


How to alter the parameters for the existing gdg?

701


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

849


What are the utility programs in jcl?

637


What statement marks the beginning of an in-stream or cataloged procedure in jcl and assigns default values to parameters defined in the procedure?

801


What is the difference between the positional and keyword parameters? Give examples.

690


How can an in-stream dataset be terminated?

837


How would you understand error(execution phase)?

614


what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?

765


what JCL Procedures?

689