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
Explain the function of the steplib dd statement?
Can we call instream to catalog and catalog to instream?
what is DD statement is used in JCL?
What is the function of a dd statement?
In sms datasets, what is the function of the dd mgmtclas keyword?
I had Records in file Like this Company Code IBM 2 IBM 1 IBM 4 WIPRO 3 WIPRO 2 WIPRO 9 TCS 4 TCS 6 TCS 3 i want the record of every company with highest code How can i do that?
Name the parameters which can be used to limit the number of records written to a sysout dataset?
What is condition checking in jcl? Is this possible?
What are s0c1, s0c4, s0c5, s0c7 and socb?
How to run cobol program using jcl?
What is the difference between the positional and keyword parameters? Give examples.
Is there any command to check wether the ps file is in sorted order?
which parameter is used to check the syntax of a jcl without executing it?
What are the parameter we cannot use in procedure?
What is the function of the dd mgmtclas keyword in sms datasets?