Is there a way to check for an empty file in JCL other than
using IEBCOMPR and the command PRINT COUNT(1)?
Answer Posted / nbohr02
By adding an ICETOOL (DFSORT) step you can force a return
code on empty with the COUNT (dd) EMPTY this will set RC to
12 so your Batch scheduler may not like it.
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?
what is use of dsn parameter in dd statement?
what is the purpose of coding notify parameter in job statement?
what is the difference between JES3 and JES2?
Is automatic restart possible in jcl?
Explain the function of dd name parameter with a 2 part structure; audit.report?
Explain how can return codes be tested before execution of a job step?
in ways data can be passed to a COBOL program from JCL?
What is the purpose of disp parameter?
Can we call instream to catalog and catalog to instream?
what is use of dcb parameter in dd statement?
Explain about ISPF/TSO Commands
what is a jcl?
Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?
What are the 2 types of parameters in dd statement?