Suppose i have 2 steps in my pgm. Step1- creates a file,
Step2 - generates report from file in step1, What changes
have to be made in Step2, so that if the file in Step1 is
empty Step2 should not be executed? No changes to be made to
Step1.
Answer Posted / vinay sonar
If file is empty you will get return code 4.
So put always true confition COND=(4,EQ) in step2.
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
how do you code a null statement?
what is the use of JCL?
What is the function of //jcllib statement?
In job processing, what happens in conversion stage?
by using cond parameter maximum 8 cond can be coded in single cond means ?explain
What do you know about jcl?
Describe the various parameters utilized in the creation of a gdg?
What is the format of comment statement?
List the different jcl statements that are not permitted in the procedures?
what happens in execution stage in job processing?
I have mainpgm(abc) this is the only cobol pgm(non-db2).And this pgm calling subpgm name "acd" this also only cobol(non- Db)and this pgm calling some other subpgm this pgm has cobol-db2 pgm. 1) IF you calling static mode how to run and how to compile? 2) IF you calling dynamic mode how to run and how to compile? plz suggestion me.
Can I share my data with other jobs? How?
What do you understand by the term job time – out and how can you overcome that?
How gdg are concatenated?
In sms datasets, what is the function of the dd mgmtclas keyword?