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 are the 4 fields in dd statement?
Differentiate between the joblib and the steplib statements?
Explain about LMQUERY�give a dialog information about a data set
Explain about ISPF/TSO Commands
What is Cataloged Procedures?
Explain about LMFREE�free data set from its association with data ID
In job processing, what happens in conversion stage?
In sms datasets, what is the function of the dd mgmtclas keyword?
The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The disp in the JCL is SHR and the pgm opens the file in EXTEND mode. What happens ?
What is the difference between run mode and addressing mode?
can any one plzzzzzz tell the jcl code for creating ps using idcams
//S10 EXEC PGM=ICETOOL //TOOLMSG DD SYSOUT=* //DFSMSG DD SYSOUT=* //CON DD DSN=VAR.INPUT1,DISP=SHR // DD DSN=VAR.INPUT2,DISP=SHR //OUT DD DSN=VAR.OUTPUT,DISP=(NEW,CATLG,DELETE), // SPACE=(CYL,(5,5)),UNIT=SYSDA //TOOLIN DD * * Splice the needed data from the two VB files together SPLICE FROM(CON) TO(OUT) ON(5,5,CH) WITHALL - WITH(12,5) WITH(22,20) VLENMAX /*
How can an in-stream dataset be terminated?
which utility is used to sort a file in jcl?
Define concatenating?