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

How does jcl act on code(if you take a cobol program)?

696


What statement can be used to send data to another mvs jes3 node?

804


What parameters can be used to limit the number of records written to a sysout dataset?

736


what is the compile process of cobol program expalin with code

1993


what is the purpose of coding class parameter in job statement?

706






IIN APITUDE THEY GAVE ONLY 10 QUESTIONS.. THEY ARE SIMPLE ONE FROM NUMBER SERIES,BOATS,TIME & DISTANCE,PROFIT &LOSS,FIND OUT THE NUMBER ? 9 25 4 36 81 64 49 AND surveillance SPELLINGS E.T.C

1619


a dd statement has 2 types of parameters. Name them?

633


if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?

1609


what EXEC statement is and what is the syntax of EXEC statement used in JCL?

621


What statement marks the beginning of a job step; assigns a name to the step; identifies the program or catalogued or in-stream procedure to be executed in the step?

638


Can I send output of job to my remote device careerride123?

657


How jcl is used for testing batch programs?

714


Explain how can an in-stream dataset be terminated?

684


What is one line to pass PARM from JCL to COBOL?

398


which utility is used to run a cobol-db2 program?

795