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
when can a job time-out occur? How to overcome that?
Explain the function of //cntl statement?
what is a jcl?
Explain the purpose of dd dummy statement?
Mainframes gets a text file that contains the name of the file. Now using JCL i want to locate that file name in the mainframe system and perform further processing. Please tell how to proceed
when does a dataset go uncataloged?
Explain the function of the steplib dd statement?
how do you access an uncataloged dataset in a jcl?
How is the record format of an output dataset specified?
how to do automated restart when a job abends?
How is a type of file defined in the jcl that executes the cobol program?
How can a jobs execution priority be modified?
Is their any limit for data sets?
Which dd parameters are required?
What is the function of job statement in jcl?