View previous topic :: View next topic |
Author |
Message |
mahendar.n Beginner
Joined: 28 Feb 2005 Posts: 7 Topics: 5
|
Posted: Mon Mar 07, 2005 8:06 am Post subject: About GDG |
|
|
I have 4 steps in my job.
A GDG is being created in step2.
The created GDG will be used as input to the next step ie step3.
Job is abended in the step3 . I don't want to make any changes to the job, ie when i restart from abended step(STEP3), is that will work or any other way to do
Thanks,
Naidu |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12372 Topics: 75 Location: San Jose
|
|
Back to top |
|
|
superk Advanced
Joined: 19 Dec 2002 Posts: 684 Topics: 5
|
Posted: Mon Mar 07, 2005 10:47 am Post subject: |
|
|
Not a very well-designed job as far as restartability. |
|
Back to top |
|
|
Cogito-Ergo-Sum Advanced
Joined: 15 Dec 2002 Posts: 637 Topics: 43 Location: Bengaluru, INDIA
|
Posted: Mon Mar 07, 2005 1:00 pm Post subject: |
|
|
If the increment in GDG generation number bothers you, then try raising the version number; the V00 part. When you do this, the V00 will be 'rolled-off' the generation and V01 will take its place. _________________ ALL opinions are welcome.
Debugging tip:
When you have eliminated all which is impossible, then whatever remains, however improbable, must be the truth.
-- Sherlock Holmes. |
|
Back to top |
|
|
Mervyn Moderator
Joined: 02 Dec 2002 Posts: 415 Topics: 6 Location: Hove, England
|
Posted: Mon Mar 07, 2005 5:36 pm Post subject: |
|
|
I tend to use temporary files in the "important" steps, then copy the temporaries to new generations in the final step depending on a zero return code. You could use permanent "flat" files instead of the temporaries, then an audit trail still exists should you need to debug. _________________ The day you stop learning the dinosaur becomes extinct |
|
Back to top |
|
|
programmgr Beginner
Joined: 25 Feb 2005 Posts: 8 Topics: 0
|
Posted: Thu Mar 10, 2005 4:20 am Post subject: |
|
|
well mahinder if u dont want to make any changes to proc i.e gdg(+1) th only way to avoid a jcl eror is override with the new version nbr in the job
plz let me knw if am not clear ....this luks lik some interview question though
btw using a temporary dataset will not solve the restartability problem .. |
|
Back to top |
|
|
kok328 Beginner
Joined: 05 Nov 2003 Posts: 19 Topics: 0 Location: MI, USA
|
Posted: Thu Mar 10, 2005 9:04 am Post subject: |
|
|
If you don't want to change your JCL for restart and do it the normal way then you could goto 3.4, delete the GDG created in STEP2 and restart your job from STEP2. |
|
Back to top |
|
|
|
|