MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

About GDG

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
mahendar.n
Beginner


Joined: 28 Feb 2005
Posts: 7
Topics: 5

PostPosted: Mon Mar 07, 2005 8:06 am    Post subject: About GDG Reply with quote

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
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12372
Topics: 75
Location: San Jose

PostPosted: Mon Mar 07, 2005 9:59 am    Post subject: Reply with quote

mahendar.n,

Please search before posting. check this link

http://www.mvsforums.com/helpboards/viewtopic.php?t=1251&highlight=gdg

Hope this helps...

Cheers

kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
superk
Advanced


Joined: 19 Dec 2002
Posts: 684
Topics: 5

PostPosted: Mon Mar 07, 2005 10:47 am    Post subject: Reply with quote

Not a very well-designed job as far as restartability.
Back to top
View user's profile Send private message
Cogito-Ergo-Sum
Advanced


Joined: 15 Dec 2002
Posts: 637
Topics: 43
Location: Bengaluru, INDIA

PostPosted: Mon Mar 07, 2005 1:00 pm    Post subject: Reply with quote

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
View user's profile Send private message
Mervyn
Moderator


Joined: 02 Dec 2002
Posts: 415
Topics: 6
Location: Hove, England

PostPosted: Mon Mar 07, 2005 5:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
programmgr
Beginner


Joined: 25 Feb 2005
Posts: 8
Topics: 0

PostPosted: Thu Mar 10, 2005 4:20 am    Post subject: Reply with quote

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 Smile

btw using a temporary dataset will not solve the restartability problem ..
Back to top
View user's profile Send private message Yahoo Messenger
kok328
Beginner


Joined: 05 Nov 2003
Posts: 19
Topics: 0
Location: MI, USA

PostPosted: Thu Mar 10, 2005 9:04 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail AIM Address
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group