We are using 2 files , file one has data, file two is
empty.Using jcl how can we find the other file is empty?
Answer Posted / deepak dada, jaipur
the handling would happen
if the file is empty then pass the zero to return code in
cobol program
then go to jcl step and check for the conditiom code( 0,
eq) where the program is getting called and do whatever you
want to do
Is This Answer Correct ? | 0 Yes | 5 No |
Post New Answer View All Answers
What does a disposition of (MOD,DELETE,DELETE) mean ?
What are steplib and joblib?
what is use of dcb parameter in dd statement?
What are the difference between jcl and jes?
Explain the function of dd disp parameter?
What happens if both JOBLIB & STEPLIB is specified ?
a set statement is used to define commonly used symbolic across job steps or procedures. It initializes the previous values in the symbolic names. It has to be defined before the first use of the symbolic names in the jcl. State whether true or false?
which parameter is use to declare the name of dataset in dd statement?
What are steplib and joblib? What for they are used?
Explain how can the submitting users racf authority be overridden in a job stream?
How dummy is used in jcl?
what is SOC4 error?
A chkpt is the parameter coded for multi-volume qsam datasets in a dd statement. When a chkpt is coded as chkpt=eov, a checkpoint is written to the dataset specified in the sysckeov statement at the end of each volume of the input/output multi-volume dataset. State whether true or false?
I have many files which i am receiving from client everyday. I have one step for every file to check for empty or not. Here client gives 30 files i need to check for every file for empty or not and i need to perform 30 steps. Can I do it in single step. Dynamically i need to change the File name in my step.
what are JCLLIB and STEPLIB in JCL?