i have a jcl in which 4 & 5 step creates a new generation.
4th step output is as input for the 6th step & 5th step
output is used as input in the 7th step. How they are
refered as in the 6th & 7th steps?
If the job abends in 6th step then how the 5th step output
is refered in 7th step?

Answer Posted / sivakumar sekharannair

In the question it says that in step 4 and 5 a new
generation is created. so
Step 4 output: XX17.PRASAD.OUT1(+1) This step can be
referred as in Step6.
so step 6 will refer this file as XX17.PRASAD.OUT1(+1)
generation only. because (+1) will become current version
(0) only after the execution of the entire job.
Similarly
Step 5 output: XX17.PRASAD.OUT2(+1)
so step 7 will refer this file as XX17.PRASAD.OUT2(+1).
If the job abends in step 6. the files created in step 4
and 5 will become current version (0).
so now the 7th step will refer the output of step 5 as (0)
i.e.XX17.PRASAD.OUT2(0).

Note:
I assume the files created by step4 and step5 are different.

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What statement can be used to send data to another mvs jes3 node?

1069


How can values be passed from the job stream to an executable program?

961


What is catelog procedure and how many catelog procedure to use in one job?

7718


How can the submitting users racf authority be overridden in a job stream?

859


What is the difference between the positional and keyword parameters? Give examples.

806






which utility is used to run a cobol-db2 program?

914


in ways data can be passed to a COBOL program from JCL?

737


How can a jobs execution priority be modified?

886


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

856


What is the function of //jcllib statement?

919


How does the jcl specify the job to os?

779


Does jcl support automatic restart?

855


Mention the types of job control statements?

792


how to do automated restart when a job abends?

958


What do we mean by 'Virtual storage' for a dataset and for a JOBSTEP ? What is the significance of the following statement for a programmer 'Virtual storage results in program addresses being independent of the addresses that actually exist in a computer' ?

1663