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

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) ?

1767


What is the function of the steplib dd statement?

744


how you will the direct the data to spool using sysout option?

1765


hello friends ,i have exam in Hsbc,pls any on send me placement papers and technical questions on mainframes,thank u

1664


What are s0c1, s0c4, s0c5, s0c7 and socb?

704






what is the use of IEBGENER utility?

659


how you can access an uncataloged dataset in a JCL?

656


In job processing, what happens in conversion stage?

739


what is the use of JCL?

665


I have a job called careerride and some steps in it as step1,step2. But I want to execute step2 before step1 ? How do I do that?

831


Explain how can the attributes of one sms dataset be copied to another dataset?

705


what is JCL?

698


How to execute 2nd and 4th steps among 5 steps in jcl proc?

747


write a jcl to execute a job by 7:00 am on jan 20,1986?

699


Is automatic restart possible in jcl?

737