a job have 5 steps and it will executes a proc which have
5steps in it. now i have to execute step3 only when step2 of
proc executes successfully
Answer Posted / vinay sonar
You can de it by using COND parameter in step3.
Use always true condition which is
COND=(0,GT,STEP2) OR COND=(4095,LT,STEP2)
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
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?
what is the use of 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.
How do you access an uncatalogued dataset in a jcl?
How to read and write a single record into a file. I would like to use it to enter a single 8-character piece of information and use it to put it into a variable for processing in JCL. Thank you
I have many files which i am receiving from client everyday. I have one step for every file to check for empty or not. Here client gives 30 files i need to check for every file for empty or not and i need to perform 30 steps. Can I do it in single step. Dynamically i need to change the File name in my step.
Is automatic restart possible in jcl?
which utility is used to sort a file in jcl?
Explain about ISPF/TSO Commands
What do you understand by the term job time – out and how can you overcome that?
what is SOC4 error?
Can I share my data with other jobs? How?
Describe the various parameters utilized in the creation of a gdg?
What does a disposition of (new,catlg,keep) for a dsn mean?
how you can direct the data to spool using SYSOUT option?