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


Please Help Members By Posting Answers For Below Questions

What does a disposition of (MOD,DELETE,DELETE) mean ?

861


What are steplib and joblib?

893


what is use of dcb parameter in dd statement?

1003


What are the difference between jcl and jes?

1281


Explain the function of dd disp parameter?

799


What happens if both JOBLIB & STEPLIB is specified ?

818


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?

820


which parameter is use to declare the name of dataset in dd statement?

971


What are steplib and joblib? What for they are used?

890


Explain how can the submitting users racf authority be overridden in a job stream?

855


How dummy is used in jcl?

840


what is SOC4 error?

943


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?

977


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.

944


what are JCLLIB and STEPLIB in JCL?

879