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
why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.
Is their any limit for data sets?
which utility is used a dummy utility?
I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?
What are the parameters that are used in creating a gdg?
How can return codes be tested before execution of a job step?
What parameters can be used to limit the number of records written to a sysout dataset?
how can a gdg base be created in a jcl. What is the difference between empty and scratch parameter while defining/altering gdg base?
What are the 2 types of parameters in dd statement?
When output dataset space is required, what quantity categories are used?
I have a COBOL program that ACCEPTs some input data. How do you code the JCL statement for this?
What are hierarchy levels in jcl?
Why include statement is used in a jcl?
What is the format of comment statement?
what JCL Procedures?