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
what is the use of IEBGENER utility?
What is use of restart and how to use it?
how can the same proc be re-used and called by many jobs?
what sort card you will use to copy the data from one dataset to another dataset?
What does a disposition of (MOD,DELETE,DELETE) mean ?
How to do automated restart when a job abend?
How can an in-stream dataset be terminated?
Explain the purpose of dd * statement in jcl?
Explain dd statement in jcl?
In sms datasets, what is the function of the dd mgmtclas keyword?
What is the motivation behind coding class parameter in job statement?
Mainframes gets a text file that contains the name of the file. Now using JCL i want to locate that file name in the mainframe system and perform further processing. Please tell how to proceed
How jcl work to handle various input output file operations?
if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?
Name the statement which can be used to send data to another mvs jes3 node?