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
How to submit jcl through a cobol program?
In job processing, what happens in execution stage?
How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?
When output dataset space is required, what quantity categories are used?
Is condition checking possible in jcl? If yes, how?
Explain how can return codes be tested before execution of a job step?
what is the compile process of cobol program expalin with code
a set statement is used to define commonly used symbolic across job steps or procedures. It initializes the previous values in the symbolic names. It has to be defined before the first use of the symbolic names in the jcl. State whether true or false?
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?
what is use of space parameter in dd statement?
What do you understand by the term job time – out and how can you overcome that?
Explain the function of the steplib dd statement?
what is the resolution for sb37 error
Can anybody tell what is tool used to generate the list of PROCS used in JCL to generate a PROCTREE
What is NOTCAT ?