Is there a way to check for an empty file in JCL other than
using IEBCOMPR and the command PRINT COUNT(1)?
Answer Posted / jayaprabhu
using the Uitility IEBPTPCH
If RC=04 no data ie the file is empty
rc=00 file is not empty
Is This Answer Correct ? | 12 Yes | 1 No |
Post New Answer View All Answers
What is the purpose of disp parameter?
What is notcat 2 - gs?
What are some jcl statements that are not allowed in procedures?
how can you check if a file is empty using jcl?
define cond parameter in jcl?
Explain about LMFREE�free data set from its association with data ID
What are the jcl procedures?
Explain about ISPF/TSO Commands
What is the function of the dd avgrec keyword in sms datasets?
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?
Can an individual step be restricted from using all the jobs allowed cpu time?
How to override a dsn that is contained in a proc called by another proc? I need to do the override in the calling jcl?
Describe the various parameters utilized in the creation of a gdg?
How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?
What are the difference between jcl and jes?