How to test thru JCL if any file(PS or VSAM) is empty or
not. I do not want to use any COBOL prog or Ezytrieve and
want to do using utility.
Answer Posted / ekluba
With proper Syntax answer #5 is correct:
//SYSPRINT DD SYSOUT=*
//DD1 DD DSN=???.EMPTY,DISP=SHR
//SYSIN DD *
PRINT INFILE(DD1) COUNT(1)
/*
Is This Answer Correct ? | 9 Yes | 2 No |
Post New Answer View All Answers
can any one plzzzzzz tell the jcl code for creating ps using idcams
what is use of dsn parameter in dd statement?
List in order the hierarchical levels of jcl?
Can I send output of job to my remote device careerride123?
How can the disposition of sysout datasets be set for an entire jobstream?
What is the function of the dd dcb keyword?
What is use of restart and how to use it?
Explain the function of the dd dcb keyword?
Explain how can the attributes of one sms dataset be copied to another dataset?
Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?
What are s0c1, s0c4, s0c5, s0c7 and socb?
when can a job time-out occur? How to overcome that?
How can a fb file convert to vb file using sort program?
which utility is used to sort a file in jcl?
Explain how can a stopped job be started again?