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


Please Help Members By Posting Answers For Below Questions

A chkpt is the parameter coded for multi-volume qsam datasets in a dd statement. When a chkpt is coded as chkpt=eov, a checkpoint is written to the dataset specified in the sysckeov statement at the end of each volume of the input/output multi-volume dataset. State whether true or false?

839


what operation is performed by job statement?

740


What do we mean by 'Virtual storage' for a dataset and for a JOBSTEP ? What is the significance of the following statement for a programmer 'Virtual storage results in program addresses being independent of the addresses that actually exist in a computer' ?

1663


how JCL works?

881


How to alter the parameters for the existing gdg?

799






What are steplib and joblib?

821


What is jcl in mainframe, and how many types of jcl statements are there for a job?

731


Explain how can the submitting users racf authority be overridden in a job stream?

758


State the uses of syspring, sysin, sort fields, sum fields and dummy.

747


How is the record format of an output dataset specified?

847


what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?

886


Explain the function of //cntl statement?

747


write a jcl to execute a job by 7:00 am on jan 20,1986?

780


What is the purpose of dd?

824


Name the statement which can be used to send data to another mvs jes3 node?

697