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
which parameter is use to declare the name of dataset in dd statement?
In sms datasets, what is the function of the dd avgrec keyword?
Where can program checkpoints be stored for use in a restart?
Explain the purpose of dd * statement in jcl?
What is the job entry system used in your project? based on what criteria the sequence of jobs are picked if priority is not mentioned in the job card?
in ways data can be passed to a COBOL program from JCL?
How to find the UNIT and VOLUME of a (a) KEPT (b) UNCATALOGED and (c) CATALOGED dataset - using (i) JCL and using (ii) ISPF ?
have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records... run a loop from record one to 10 evaluate i/3 if comes even then skip else write to output file
If a (+1) generation dataset is created in the first step of a job, how can it be referenced in later steps of the same job for input?
How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length ----TRY
Is automatic restart possible in jcl? If yes, how?
How to override loadlib?
What is 'mounting' of volumes ? Is there anything that a programmer can do in it ? How to find currently mounted volume ?
Name the statement which can be used to send data to another mvs jes3 node?
Explain the function of dd disp parameter?