Is there a way to check for an empty file in JCL other than
using IEBCOMPR and the command PRINT COUNT(1)?

Answer Posted / nbohr02

You could write a REXX EXEC to read your required files then
have the exec sumbit the job to the internal reader with
either omitted steps or condition step coding. The IEBPTPCH
technique will work too.

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how would you create a temporary dataset? And where will you use them?

730


List the various advantages of using jcl language?

820


which utility is used to sort a file in jcl?

721


WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99 VALUE 123.45. PROCEDURE DIVISION. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. compiler : IGYGR1080-S A "VALUE" clause literal was not compatible with the data category o subject data item. The "VALUE" clause was discarded. WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99. PROCEDURE DIVISION. MOVE 123.45 TO W-B. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. 2375

1005


How is a type of file defined in the jcl that executes the cobol program?

689






What are steplib and joblib? What for they are used?

656


how do you code a null statement?

740


What is the motivation behind coding class parameter in job statement?

654


Describe the various parameters utilized in the creation of a gdg?

657


How can unused space allocation be returned to the system when a dataset is closed?

783


in ways data can be passed to a COBOL program from JCL?

638


Hello Guys, I have 1+ Year Experience in MAINFRAME TESTING. After 1 Week I have an Interview With a Company on Mainframe Testing. Please Could You Guys Please Suggest me What Sections Should I prepare ?? ___Tell Me the Topic Or Appropriate Site & Links. ?? ---------------Thank You

2229


For what purpose steplib and joblib are used ?

656


What is NOTCAT ?

709


Explain the function of a dd statement?

638