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
which utility is used to run a cobol-db2 program?
How can return codes be tested before execution of a job step?
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?
I need exexution process for JCL programs
What is use of restart and how to use it?
What are s0c1, s0c4, s0c5, s0c7 and socb?
What do you understand by the term job time – out and how can you overcome that?
what is DSN parameter and DISP parameter is used for?
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
Is it possible to left uncode disp? If yes, how?
How can the attributes of one sms dataset be copied to another dataset?
what is use of dsn parameter in dd statement?
How can the submitting users racf authority be overridden in a job stream?
How to do automated restart when a job abend?
what is DSN in JCL and what are the parameters to declare the DSN?