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 use of restart and how to use it?
when can a job time-out occur? How to overcome that?
Explain how can values be passed from the job stream to an executable program?
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?
have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records... run a loop from record one to 10 evaluate i/3 if comes even then skip else write to output file
What is jcl in mainframe, and how many types of jcl statements are there for a job?
How does the jcl specify the job to os?
Explain how can an in-stream dataset be terminated?
what are the statements that are not valid to be included in an include statement?
How does jcl act on code(if you take a cobol program)?
What parameter of the job statement is used to limit the cpu time consumed by the job?
Explain the function of a dd statement?
Can we call instream to catalog and catalog to instream?
How would you understand error(execution phase)?
Is it possible to left uncode disp? If yes, how?