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
Explain the jcl exec statement?
What are hierarchy levels in jcl?
Mainframes gets a text file that contains the name of the file. Now using JCL i want to locate that file name in the mainframe system and perform further processing. Please tell how to proceed
Why block size is multiple of lrecl in jcl?
what is the JCL statement consists of?
What dd statement is used to supply the name of a dataset?
What do you understand by the term job time – out and how can you overcome that?
Matching Logic in Jcl not in cobol.Could any one please answer this question
I had Records in file Like this Company Code IBM 2 IBM 1 IBM 4 WIPRO 3 WIPRO 2 WIPRO 9 TCS 4 TCS 6 TCS 3 i want the record of every company with highest code How can i do that?
I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?
How to submit a jcl from cics?
Is condition checking possible in jcl? If yes, how?
what is use of dsn parameter in dd statement?
what is the difference between JES3 and JES2?
How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length ----TRY