Suppose i have 2 steps in my pgm. Step1- creates a file,
Step2 - generates report from file in step1, What changes
have to be made in Step2, so that if the file in Step1 is
empty Step2 should not be executed? No changes to be made to
Step1.
Answer Posted / reader
when we are creating the file in step-1 then obviuosly the
file will be empty only..then why we need to check the
condition and skip the step..directly we can put COND=
(4,Lt) parameter and we can skip the step-2...
correct me if im wrong...
Is This Answer Correct ? | 5 Yes | 14 No |
Post New Answer View All Answers
What do you understand by the term notcat 2 – gs?
State the uses of syspring, sysin, sort fields, sum fields and dummy.
Explain about LMQUERY�give a dialog information about a data set
Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?
which parameter is used to check the syntax of a jcl without executing it?
I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.
how to run batch program without jcl?
Where can program checkpoints be stored for use in a restart?
In job processing, what happens in execution stage?
how you will the direct the data to spool using sysout option?
Which dd parameters are required?
Explain the purpose of dd dummy statement?
How does the jcl specify the job to os?
Can I share my data with other jobs? How?
What is use of restart and how to use it?