A job has 90 steps i want to execute only step7 and step15

Answer Posted / praveen bejjanki

In the jobcard, Give restart=step7, code cond=(0,le) from
step8 - step14, Give a null stmt(//) after step15. That's
it your requirement is met.

Simplest way:
There is an utility IEBEDIT which is used to execute only
few particular steps from 'n' steps in a jcl.

//JOBCARD
//STEPNAME EXEC PGM=IEBEDIT
//SYSUT1 DD DSN=MYPRGM.DSN,DISP=SHR
//SYSUT2 DD SYSOUT=(*,INTRDR)
//SYSIN DD *
EDIT TYPE=INCLUDE STEPNAME=(STEP7,STEP15)
/*
//

MYPRGM.DSN = The name of the dataset that has the actual
JCL.

Suggestions are kindly accepted.
Do correct me if i'm wrong.

Is This Answer Correct ?    16 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

which utility is used to run a cobol-db2 program?

810


How can return codes be tested before execution of a job step?

928


How to override a dsn that is contained in a proc called by another proc? I need to do the override in the calling jcl?

720


I need exexution process for JCL programs

1853


What is use of restart and how to use it?

774






What are s0c1, s0c4, s0c5, s0c7 and socb?

707


What do you understand by the term job time – out and how can you overcome that?

608


what is DSN parameter and DISP parameter is used for?

680


I want to JCL sort for Non-COMP and COMP-3 fields SORT FIELDS=(1,5,A,6,11,A,12,11,A,19,1,A,20,1,A),FORMAT=BI,EQUALS Length of comp bytes is 11 bytes which start at 6byte and 12 byte considering 11 bytes in comp-3 is 6 bytes. Can anyone tell if the above sort work SORT FIELDS=(1,5,A,6,6,A,12,6,A,19,1,A,20,1,A),FORMAT=BI,EQUALS does not works OK

1487


Is it possible to left uncode disp? If yes, how?

708


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

861


what is use of dsn parameter in dd statement?

673


How can the submitting users racf authority be overridden in a job stream?

758


How to do automated restart when a job abend?

791


what is DSN in JCL and what are the parameters to declare the DSN?

722