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 / naren
IFEMPTY utility is used to check the file is empty or not,
if the return code of this step is 4 then the file is empty.
| Is This Answer Correct ? | 15 Yes | 5 No |
Post New Answer View All Answers
How to read and write a single record into a file. I would like to use it to enter a single 8-character piece of information and use it to put it into a variable for processing in JCL. Thank you
Explain the hierarchy levels in jcl?
What does it mean by Restart and Checkpoint in JCL ? How are checkpoints being taken and what is their usage ? How to use Checkpoint macro on a JOBSTEP ?
Explain the function of dd name parameter with a 2 part structure; audit.report?
How does jcl act on code(if you take a cobol program)?
why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.
How does jcl specify the job to the operating system?
What are hierarchy levels in jcl?
I HAVE A VB BLOCK WHICH IS USED AS INPUT IN COBOL CONATINING SOME RECORDS CAN I CHANGE THE FILE FROM VB TO FB?
which parameter is used to check the syntax of a jcl without executing it?
A chkpt is the parameter coded for multi-volume qsam datasets in a dd statement. When a chkpt is coded as chkpt=eov, a checkpoint is written to the dataset specified in the sysckeov statement at the end of each volume of the input/output multi-volume dataset. State whether true or false?
what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?
which utility is used a dummy utility?
How to pass data to a program that is coded in an exec statement?
if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?