How to identify where file is empty or not? How many ways are
there to identifying?
Answer Posted / bala
1) Use IDCAMS
SYSIN DD *
PRINT INDATASET(file name) COUNT(1)
gives RC 04 if the file is an empty file.
2)Compare the file with a known empty file using IEBCOMPR
utility. Comparing two empty files gives Nonzero RC
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
List the different components of jcl statement?
Explain about ISPF/TSO Commands
if the submitter of a job wants to inform another user about the job completion, how can it be done?
What is the function of //cntl statement?
what is DSN parameter and DISP parameter is used for?
Are there any set of rules for the names of the steps used in a job?
How can an in-stream dataset be terminated?
how do you access an uncataloged dataset in a jcl?
Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?
what is the purpose of coding notify parameter in job statement?
What is the function of job statement in jcl?
by using cond parameter maximum 8 cond can be coded in single cond means ?explain
What is the function of the dd dcb keyword?
what operation is performed by job statement?
what is the difference between JES3 and JES2?