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

How can a fb file convert to vb file using sort program?

922


How to run cobol program using jcl?

737


Explain dfsort utility?

855


We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?

1862


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

776






What is concatenating?

717


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

914


What is the purpose of dd?

824


When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?

844


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

946


how can you check if a file is empty using jcl?

909


What is NOTCAT ?

842


how you can direct the data to spool using SYSOUT option?

1009


how you can access an uncataloged dataset in a JCL?

744


How to pass data to a program that is coded in an exec statement?

926