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?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / nimsatprasad
Ex:
Step 4 output: XX17.PRASAD.OUT(+4) This step can be
referred as in Step6.
Step 5 output: XX17.PRASAD.OUT(+5) This step can be
referred as in Step7.
If the Job bends in 6the step so already 5th step has been
processed successfully. So we can restart from the step6
then we can refer the 5th step output to 7th step input as
current version.
After abend:
Step 5 output: XX17.PRASAD.OUT(+5) This step can be
referred as XX17.PRASAD.OUT(0) in Step7 after abends the
job.
**** Please let me know if it is wrong.
Is This Answer Correct ? | 1 Yes | 0 No |
What do you understand by the term notcat 2 – gs?
Explain about LMPUT-
Explain about ISPFTTRC
What is SORT ? How do we eliminate duplicate records ? How do I select some records using SORT ?
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.
What are the basic JCL Statements for a Job?
Can I concatenate various datasets whose organization are different from each other. Lets say I want to cancatenate a PDS file, a PS file, a GDG file etc. Can You do that ?? If yes, how ? is there any separate Utility to do so ???
What is the purpose and meaning of the REGION keyword and what JCL statement is it associated with?
I have a input file. Data like: ABCDEFGH.... i want out put file like AB BC CD DE....How can do this??
When should DISP=MOD is used?
What is the syntax of JCL statement?
My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.