Is there a way to check for an empty file in JCL other than
using IEBCOMPR and the command PRINT COUNT(1)?
Answer Posted / jayaprabhu
using the Uitility IEBPTPCH
If RC=04 no data ie the file is empty
rc=00 file is not empty
| Is This Answer Correct ? | 12 Yes | 1 No |
Post New Answer View All Answers
How to resolve the error "WER488A JOIN CAPACITY EXCEEDED" I am using SYNCSORT with JOINKEYS to compare 2 files. I am Getting error - > WER488A JOIN CAPACITY EXCEEDED There are 2 files to be compared with about 2 million records each. LRECL is 3665. Can somebody give a pointer as to how to resolve this problem? I am using SYNCSORT with JOINKEYS to compare 2 files. I am Getting error - > WER488A JOIN CAPACITY EXCEEDED There are 2 files to be compared with about 2 million records each. LRECL is 3665. Can somebody give a pointer as to how to resolve this problem?
What is notcat 2 - gs?
what is use of dsn parameter in dd statement?
What is the difference between the positional and keyword parameters? Give examples.
What is use of restart and how to use it?
What are the difference between jcl and jes?
How does jcl act on code(if you take a cobol program)?
Must tape dataset definitions include vol=ser specifications?
i want to store 20 digits . how will u do it in cobol ?
How can the attributes of one sms dataset be copied to another dataset?
how you can access an uncataloged dataset in a 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 ?
State the uses of syspring, sysin, sort fields, sum fields and dummy.
which utility is used to sort a file in jcl?
Is condition checking possible in jcl?