i have a jcl calling proc which has 10 steps, i want to
execute from step5 to step10, where can i code RESTART and
COND parameter?
Answer Posted / rajkanya
The RESTART parameter can be coded at JOB CARD level as:
RESTART=PROCNAME.STEPNAME ( in this case STEP5 )
and the COND parameter can be coded at both JOB and STEP
level. At STEP5, as:
//STEP5 EXEC PGM=.....,COND=EVEN
COND=ONLY it allows step execution if any prior step is
ABENDED
COND=EVEN it allows step execution even if the prior step
is ABENDED
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Which statement is used to identify the private libraries in job?
Hello Guys, I have 1+ Year Experience in MAINFRAME TESTING. After 1 Week I have an Interview With a Company on Mainframe Testing. Please Could You Guys Please Suggest me What Sections Should I prepare ?? ___Tell Me the Topic Or Appropriate Site & Links. ?? ---------------Thank You
Explain the purpose of the dd keylen parameter?
when does a dataset go uncataloged?
what is the purpose of coding notify parameter in job statement?
How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length ----TRY
Explain how can the attributes of one sms dataset be copied to another dataset?
Must tape dataset definitions include vol=ser specifications?
which utility is used to sort a file in jcl?
Are there any set of rules for the names of the steps used in a job? What are they?
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 ?
Suppose I have five jobs to do. But I want to hold one?
My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.
Is condition checking possible in jcl?
I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.