Is there a way to check for an empty file in JCL other than
using IEBCOMPR and the command PRINT COUNT(1)?
Answer Posted / arun
Use the SORT utility with NULLOUT=RC04 OR RC16..If the file
is empty the step returns either 04 or 16 depending on what
you coded.
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is the function of job statement in jcl?
Explain how can a stopped job be started again?
what is JCL?
Explain the function of dd disp parameter?
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 the function of the steplib dd statement?
What are the difference between jcl and jes?
When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?
List the different jcl statements that are not permitted in the procedures?
What do you understand by the term notcat 2 – gs?
Is it possible to define dd statements as you want?
i want to store 20 digits . how will u do it in cobol ?
What is the use of symbol // in jcl?
how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?
How to pass data to a program that is coded in an exec statement?