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 / sreedhar naidu dhekodna
In the above Question there are no details about how the
file is getting created say, whether they are creating a
file using a program which may or may not populate data
into the file or using some IBM utilities for the sake of
only creation of file.
Consider the first Case: If file is getting created in a
step where the program may or maynot populate the file,
Then we can use IDCAMS or INSYNC or FILEAID or some
other utilities to check the emptiness of a file.
If it is the other case: Using file creation utilities only
for the sake of creation then only we can use cond
parameter.
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Explain how can the attributes of one sms dataset be copied to another dataset?
How to submit jcl through a cobol program?
What are s0c1, s0c4, s0c5, s0c7 and socb?
is there any way to execute more than one proc in the same exec statement at the same time..?
What is timing concept in mainframe?
Is automatic restart possible in jcl?
What is the difference between run mode and addressing mode?
What are the rules employed while naming the steps in a job?
what happens in conversion stage in job processing?
Which dd parameters are required?
Is condition checking possible in jcl?
what sort card you will use to copy the data from one dataset to another dataset?
how you can direct the data to spool using SYSOUT option?
Explain the function of //cntl statement?
Differentiate between addressing mode and run mode.