How to check empty file in jcl?

Answer Posted / pradeep k (cr)

Thanks all for ur valuable answers, but i have one small
doubt.
I tried with ICETOOL, by giving empty input file and i am
able to sumit job with maxcc 000 and outptu is comming fine
as total recard count as 0.

in same way, i am trying to submit jcl provided by Muttaiah
but i am getting jcl error message like 'ILLEGAL KEYWORD
INT RINT' at the place of PRINT statement.

Can anyone suggest me, what's my mistake?

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of dd dummy statement?

942


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

823


Is condition checking possible in jcl?

717


Matching Logic in Jcl not in cobol.Could any one please answer this question

3669


What are the difference between jcl and jes?

1050






I want to JCL sort for Non-COMP and COMP-3 fields SORT FIELDS=(1,5,A,6,11,A,12,11,A,19,1,A,20,1,A),FORMAT=BI,EQUALS Length of comp bytes is 11 bytes which start at 6byte and 12 byte considering 11 bytes in comp-3 is 6 bytes. Can anyone tell if the above sort work SORT FIELDS=(1,5,A,6,6,A,12,6,A,19,1,A,20,1,A),FORMAT=BI,EQUALS does not works OK

1485


what is use of space parameter in dd statement?

752


Explain how can values be passed from the job stream to an executable program?

617


List the different jcl statements that are not permitted in the procedures?

638


What do you know about jcl?

647


Name a few IBM utility programs, and explain its function.

4438


Is it possible to left uncode disp? If yes, how?

704


What is the use of symbol // in jcl?

920


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

807


When output dataset space is required, what quantity categories are used?

826