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
What is the difference between the positional and keyword parameters? Give examples.
What is the function of job statement in jcl?
What are the parameter we cannot use in procedure? How many instream we can write in single jcl?
What does a disposition of (MOD,DELETE,DELETE) mean ?
For what purpose steplib and joblib are used ?
Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?
Can I send output of job to my remote device careerride123?
List the various advantages of using jcl language?
How can unused space allocation be returned to the system when a dataset is closed?
Are there any set of rules for the names of the steps used in a job? What are they?
Can we use DISP=SHR in output file in JCL
When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?
How does the jcl specify the job to os?
in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?
What is the job entry system used in your project? based on what criteria the sequence of jobs are picked if priority is not mentioned in the job card?