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
Explain the purpose of dd * statement in jcl?
Explain how can the disposition of sysout datasets be set for an entire jobstream?
What is the job entry system used in your project? based on what criteria the sequence of jobs are picked if priority is not mentioned in the job card?
Is it possible to define dd statements as you want?
have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records... run a loop from record one to 10 evaluate i/3 if comes even then skip else write to output file
How gdg are concatenated?
What is the function of dd disp parameter?
Explain how can the attributes of one sms dataset be copied to another dataset?
Is their any set of rules for dd? Explain.
What is use of restart and how to use it?
List in order the hierarchical levels of jcl?
What is the purpose of dd dummy statement?
by using cond parameter maximum 8 cond can be coded in single cond means ?explain
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) ?
Explain the purpose of dd dummy statement?