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 are the jcl procedures?
in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?
Explain the function of the dd dcb keyword?
write a jcl to execute a job by 7:00 am on jan 20,1986?
What is one line to pass PARM from JCL to COBOL?
What is the significance of addrspc parameter in exec statement?
How can values be passed from the job stream to an executable program?
How can a fb file convert to vb file using sort program?
Is automatic restart possible in jcl? If yes, how?
How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?
what is the JCL statement consists of?
List in order the hierarchical levels of jcl?
How to read and write a single record into a file. I would like to use it to enter a single 8-character piece of information and use it to put it into a variable for processing in JCL. Thank you
Explain how can a stopped job be started again?
What is the function of dd name parameter with a 2 part structure; audit.report?