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 / sivakumar
Use comparex/ISRSUPC utility and compare ur file with an
empty file of the same DCB parameter. Retrun code of 28
means the file is empty. return code of 1 means the file is
not empty.
| Is This Answer Correct ? | 5 Yes | 7 No |
Post New Answer View All Answers
How to pass the parameter in parm using linkage section ? (syntax)?
Mainframes gets a text file that contains the name of the file. Now using JCL i want to locate that file name in the mainframe system and perform further processing. Please tell how to proceed
Explain how can a stopped job be started again?
What is the function of the dd mgmtclas keyword in sms datasets?
Explain how can the disposition of sysout datasets be set for an entire jobstream?
a set statement is used to define commonly used symbolic across job steps or procedures. It initializes the previous values in the symbolic names. It has to be defined before the first use of the symbolic names in the jcl. State whether true or false?
How do you create a temporary dataset?
What is notcat 2 - gs?
What is Cataloged Procedures?
How does jcl act on code(if you take a cobol program)?
Explain the function of the dd dcb keyword?
What do you understand by the term job time – out and how can you overcome that?
Is condition checking possible in jcl? If yes, how?
which parameter is used to check the syntax of a jcl without executing it?
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.