View previous topic :: View next topic
|
Author |
Message |
Sunaina Javali
New User
Joined: 22 Apr 2009 Posts: 16 Location: Bangalore
|
|
|
|
I have a job in which steps 4 & 5 create a new generation. 4th step output is used as input in the 6th step & 5th step output is used as input in the 7th step. How they are referred as in the 6th & 7th steps? If the job abends in 6th step then how the 5th step output is referred in 7th step?
Thanks,
Nisha |
|
Back to top |
|
|
chaky
New User
Joined: 28 May 2009 Posts: 20 Location: Bangalore
|
|
|
|
Here my understanding is...
Normal execution.
STEP4 ..... output file1 (+1).
STEP5 ..... output file2 (+1).
STEP6 ..... output file1 (+1) as input file.
STEP7 ..... output file2 (+1) as input file.
Suppose Job gets abended in STEP4, Restart the JOB from STEP4 without any changes.
If Job gets abended in STEP5, Restart the JOB from STEP5 but change the version of ouput file1 in STEP6 to Zero and rest all same.
If Job gets abended in STEP6, Restart the JOB from STEP6 but change the version of ouput file1 in STEP6 to Zero and version of ouput file2 in STEP7 to Zero.
If Job gets abended in STEP7, Restart the JOB from STEP7 but change the version of ouput file2 in STEP7 to Zero. |
|
Back to top |
|
|
Sunaina Javali
New User
Joined: 22 Apr 2009 Posts: 16 Location: Bangalore
|
|
|
|
Hey,
I will try with this information...
let me know how this works.... :-)
Thanks,
Nisha |
|
Back to top |
|
|
chaky
New User
Joined: 28 May 2009 Posts: 20 Location: Bangalore
|
|
|
|
Nisha,
What happens suppose in one step you create a GDG version, then we give version as (+1) or next generation depends on your requirement and the job gets abend in later stage. So now the version you created becomes the current version means (0) which we use in the next run for restarting the job. Same is the case with your requirement. Then we give RESTART parameter in JOB card with the step name
You should give this documentation to support people for each step like if step1 gets abend what needs to do and what all the changes need to make. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
/ RANT ON
What happens suppose in one step you create a GDG generation, then we give generation as (+1) or next generation depends on your requirement and the job gets abend in later stage. So now the version you created becomes the current generation means (0) which we use in the next run for restarting the job. Same is the case with your requirement. Then we give RESTART parameter in JOB card with the step name
You should give this documentation to support people for each step like if step1 gets abend what needs to do and what all the changes need to make.
/ RANT OFF
Please use the correct terminology as both generation and version are both valid in respect to a GDS - but both have a valid but different meaning.
Help us to help you. |
|
Back to top |
|
|
chaky
New User
Joined: 28 May 2009 Posts: 20 Location: Bangalore
|
|
|
|
ooppsss
Thanks expat.... |
|
Back to top |
|
|
Arun Raj
Moderator
Joined: 17 Oct 2006 Posts: 2481 Location: @my desk
|
|
|
|
Nisha,
Are all the four steps using the same GDG base? Or does it follow the example shown in chakys post. |
|
Back to top |
|
|
chaky
New User
Joined: 28 May 2009 Posts: 20 Location: Bangalore
|
|
|
|
Good catch arcvns
If all four steps are using the same GDG base then solution will be as given below.
Normal execution.
STEP4 ..... output file1 (+1).
STEP5 ..... output file1 (+2).
STEP6 ..... output file1 (+1) as input file.
STEP7 ..... output file1 (+2) as input file.
Suppose Job gets abended in STEP4, Restart the JOB from STEP4 without any changes.
If Job gets abended in STEP5, Restart the JOB from STEP5 but change the generation of ouput file1 in STEP6 to Zero and in STEP5 and STEP7 change the generation to (+1).
If Job gets abended in STEP6, Restart the JOB from STEP6 but change the generation of ouput file1 in STEP6 to (-1) and in STEP7 change the generation to (0).
If Job gets abended in STEP7, Restart the JOB from STEP7 but in STEP7 change the generation to (0).
I hope now we have covered all the cases. |
|
Back to top |
|
|
Sunaina Javali
New User
Joined: 22 Apr 2009 Posts: 16 Location: Bangalore
|
|
|
|
Yes the GDG Base is same.
Thank you Chaky... i gotit..!!!!
thanks you all for u r help.....
Regards,
Nisha |
|
Back to top |
|
|
|