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 does a disposition of (MOD,DELETE,DELETE) mean ?
what is the purpose of coding notify parameter in job statement?
what is DSN in JCL and what are the parameters to declare the DSN?
Where can program checkpoints be stored for use in a restart?
What happens if both JOBLIB & STEPLIB is specified ?
What is the use of symbol // in jcl?
What is 'mounting' of volumes ? Is there anything that a programmer can do in it ? How to find currently mounted volume ?
How can a jobs execution priority be modified?
What is the function of //jcllib statement?
How can the disposition of sysout datasets be set for an entire jobstream?
What is the significance of addrspc parameter in the exec statement?
Can an individual step be restricted from using all the jobs allowed cpu time?
how do you access an uncataloged dataset in a jcl?
What is the format of comment statement?
I need exexution process for JCL programs