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
Step 1 RC 4 Step 2 Step 3 I want to know the COND parameter which can be coded in step 2 or 3. Step 2 should be executed based on Step 1 RC and Step 3 should not be executed based on step 1's RC
What do you understand by the term “keyword” with respect to jcl and what is the opposite of the term?
What parameter of the job statement is used to limit the cpu time consumed by the job?
how can you check if a file is empty using jcl?
What is the difference between run mode and addressing mode?
How to execute 2nd and 4th steps among 5 steps in jcl proc?
What is the syntax of JCL statement?
Explain about LMFREE�free data set from its association with data ID
when does a dataset go uncataloged?
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
How does jcl act on a cobol code?
what is DD statement is used in JCL?
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) ?
What is the function of the dd dcb keyword?
What is the function of the dd avgrec keyword in sms datasets?