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


Please Help Members By Posting Answers For Below Questions

What do you understand by the term notcat 2 – gs?

1030


State the uses of syspring, sysin, sort fields, sum fields and dummy.

892


Explain about LMQUERY�give a dialog information about a data set

1152


Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?

903


which parameter is used to check the syntax of a jcl without executing it?

1093


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.

2047


how to run batch program without jcl?

10823


Where can program checkpoints be stored for use in a restart?

1190


In job processing, what happens in execution stage?

940


how you will the direct the data to spool using sysout option?

2161


Which dd parameters are required?

943


Explain the purpose of dd dummy statement?

943


How does the jcl specify the job to os?

934


Can I share my data with other jobs? How?

886


What is use of restart and how to use it?

1088