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 to read and write a single record into a file. I would like to use it to enter a single 8-character piece of information and use it to put it into a variable for processing in JCL. Thank you
How to run cobol program using jcl?
WORKING-STORAGE SECTION. 01 GROSS-PAY. 05 BASIC-PAY PIC 9(5). 05 ALLOWENCES PIC 9(3). PROCEDURE DIVISION. MOVE 1000 TO BASIC-PAY. MOVE 250 TO ALLOWENCES. DISPLAY GROSS-PAY. STOP RUN. 77 W-A PIC 9(3)V99 VALUE 23.75 77 W-B PIC ZZ9V99 VLAUE 123.45 after the statement MOVE W-A TO W-B what will be W-B's value? a.123.75 b.b23.75 (where b indicates space) c.023.75 d.invalid move
Explain how can the submitting users racf authority be overridden in a job stream?
Explain how can the disposition of sysout datasets be set for an entire jobstream?
Explain about LMQUERY�give a dialog information about a data set
What do you understand by the term notcat 2 – gs?
How do you access an uncatalogued dataset in a jcl?
what is a jcl?
What are hierarchy levels in jcl?
Explain about LMFREE�free data set from its association with data ID
Explain in DD statement what is the use of DCB parameter?
How can unused space allocation be returned to the system when a dataset is closed?
what happens in execution stage in job processing?
List in order the hierarchical levels of jcl?