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 does jcl act on a cobol code?
When space is allocated for an output dataset, what units can be used?
what is JCL?
Explain the function of the dd dcb keyword?
what JCL Procedures?
IIN APITUDE THEY GAVE ONLY 10 QUESTIONS.. THEY ARE SIMPLE ONE FROM NUMBER SERIES,BOATS,TIME & DISTANCE,PROFIT &LOSS,FIND OUT THE NUMBER ? 9 25 4 36 81 64 49 AND surveillance SPELLINGS E.T.C
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
how would you create a temporary dataset? And where will you use them?
what is “Cond= even” and “Cond=only”?
Is condition checking possible in jcl?
How can return codes be tested before execution of a job step?
Explain the function of a dd statement?
why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.
How to execute 2nd and 4th steps among 5 steps in jcl proc?
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.