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 / suga
you can use IEBPTPCH utility.it is used to check whether it
is empty or not.If the return code is 4 then the file is
empty.
| Is This Answer Correct ? | 10 Yes | 4 No |
Post New Answer View All Answers
The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The disp in the JCL is SHR and the pgm opens the file in EXTEND mode. What happens ?
Name a few IBM utility programs, and explain its function.
how can the same proc be re-used and called by many jobs?
how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?
What is one line to pass PARM from JCL to COBOL?
What are the parameters that are used in creating a gdg?
what is the JCL statement consists of?
How to submit jcl through a cobol program?
What is the format of comment statement?
how JCL works?
what operation is performed by job statement?
What is jcl in mainframe?
what is SOC4 error?
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.
Can we use DISP=SHR in output file in JCL