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 type of version is we r using now real time in all modules(cobol, jcl, cics, db2, vsam)?
I have 5 steps in my job. say s1, s2, s3, s4, s5 //s1 exec ............. //s2 exec ............ //s3 exec .......... //s4 exec ........ //s5 exec ............... my question is i want to exeute only s2 and s4 steps... please advice me how to do this:
What is QSAM error usually when it is occurs?
How to read and write a single record into a file. I would like to use it to enter a single 8-character piece of information and use it to put it into a variable for processing in JCL. Thank you
what is inrec fields and outrec fields in sorting
How to change default PROCLIB?
We have two PS files,want to compare those files and put the duplicate records in one file. Input file 1 contains(1,2,4,9,10) Input file 2 contains (1,4,5,11,12,14,16). Help me with jcl.
I've one sequential file, that file size is LREC=100 (File contain Records like 1 to 100). Now I was increase the file size is LREC=102. My question is I want insert 00 (Two Zeros) in to the new file (That output file looks like : 00123 up to 100). How will write the SORT card in JCL. Please let me know.
wht is step lib n job lib ? where can we code joblib n steplib ?
what are the statements that are not valid to be included in an include statement?
What is jcl in mainframe, and how many types of jcl statements are there for a job?
What is 'S0C7' abend?