How do you handle empty files in a JCL ?
Answer Posted / bharani
Read first record of the file using IDCAMS, It will return
the cc=0 if the file is not empty, otherwise it returns
CC=4.
| Is This Answer Correct ? | 5 Yes | 3 No |
Post New Answer View All Answers
what happens in execution stage in job processing?
How does the jcl specify the job to os?
is there any way to execute more than one proc in the same exec statement at the same time..?
Is their any limit for data sets?
how can the same proc be re-used and called by many jobs?
what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?
What are the difference between jcl and jes?
Is it possible to code instream data in a PROC?
What are the parameter we cannot use in procedure? How many instream we can write in single jcl?
what EXEC statement is and what is the syntax of EXEC statement used in JCL?
Does jcl support automatic restart?
Explain the function of a dd statement?
What is jcl in mainframe, and how many types of jcl statements are there for a job?
Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?
Differentiate between the joblib and the steplib statements?