Is there a way to check for an empty file in JCL other than
using IEBCOMPR and the command PRINT COUNT(1)?
Answer Posted / arun
Use the SORT utility with NULLOUT=RC04 OR RC16..If the file
is empty the step returns either 04 or 16 depending on what
you coded.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
what are the various stages of job processing?
how JCL works?
How is a type of file defined in the jcl that executes the cobol program?
Explain the function of dd disp parameter?
Which dd parameters are required?
What is the purpose of dd * statement in jcl?
Explain about LMFREE�free data set from its association with data ID
what is use of disp parameter in dd statement?
In job processing, what happens in conversion stage?
Explain dfsort utility?
Matching Logic in Jcl not in cobol.Could any one please answer this question
What is the function of dd name parameter with a 2 part structure; audit.report?
How to override loadlib?
Suppose I have five jobs to do. But I want to hold one?
How jcl is used for testing batch programs?