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
How do you submit a job for execution?
What dd statement is used to supply the name of a dataset?
What is the purpose of disp parameter?
Which dd parameters are required?
Are there any set of rules for the names of the steps used in a job?
How can values be passed from the job stream to an executable program?
which parameter is use to declare the name of dataset in dd statement?
what is DSN parameter and DISP parameter is used for?
Where can program checkpoints be stored for use in a restart?
what is DSN in JCL and what are the parameters to declare the DSN?
How do you create a temporary dataset?
what happens in execution stage in job processing?
How to alter the parameters for the existing gdg?
Mention the types of job control statements?
How to run cobol program using jcl?