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 run batch program without jcl?
I have mainpgm(abc) this is the only cobol pgm(non-db2).And this pgm calling subpgm name "acd" this also only cobol(non- Db)and this pgm calling some other subpgm this pgm has cobol-db2 pgm. 1) IF you calling static mode how to run and how to compile? 2) IF you calling dynamic mode how to run and how to compile? plz suggestion me.
How can a jobs execution priority be modified?
What is the function of the dd avgrec keyword in sms datasets?
in ways data can be passed to a COBOL program from JCL?
Can we use DISP=SHR in output file in JCL
What is use of restart and how to use it?
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?
what JCL Procedures?
What is the purpose of dd * statement in jcl?
Explain the purpose of dd * statement in jcl?
whats the diff bw the evaluate also and and?
Is acct parameter mandatory?
What parameter of the job statement is used to limit the cpu time consumed by the job?
Why include statement is used in a jcl?