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 

How to Model GDG as per existing GDG entry !!

 
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
amit4u79
Beginner


Joined: 24 Oct 2005
Posts: 109
Topics: 36
Location: India

PostPosted: Mon Oct 24, 2005 4:45 am    Post subject: How to Model GDG as per existing GDG entry !! Reply with quote

Hi, I am aware that I can model say a Version 2 of a GDG against an existing data set by using DCB=(model data set name), but can you kindly let me know if I have 1 version say G01V001 created, how do I model my succeeding versions as per this version 1 or how can I model all the versions of my GDG. Do I need to mention any specific parameters while defining the GDG Base ??

Kindly advise and reply at the earliest !!

Thanks,
- Amit Joshi
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
kolusu
Site Admin
Site Admin


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

PostPosted: Mon Oct 24, 2005 9:08 am    Post subject: Reply with quote

amit4u79,

MODEL parameter is obsolete if your shop has SMS !

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


Joined: 04 Dec 2002
Posts: 71
Topics: 0
Location: Little Falls, NJ

PostPosted: Tue Oct 25, 2005 2:09 pm    Post subject: Reply with quote

Sorry, the DCB=(model dsname) cannot specify a GDG base or a GDG generation (see the JCL reference).

You can create another non-GDG non-VSAM dataset with all of the right DCB characteristics and refer to it, e.g., DCB=PAYROLL.SAMPLE.DATASET. You can even allocate that dataset with zero tracks so it takes up no space on the disk.

If SMS is active (and it is in almost all sites), then you can also create a SMS Data Class with all the attributes that you want to assign to the GDG. You can specify DATACLAS=class even if the dataset is not SMS-managed.

When Kolusu said that "MODEL" is obsolete with SMS, he meant the "Model DSCBs" for GDGs are obsolete. Model DSCBs are different from saying DCB=dsname (cataloged dataset name); models are uncataloged datasets with the same name as the GDG base, they are not used if SMS is active, but you can use DCB=dsname
_________________
Bruce A. Black
Senior Software Developer
Innovation Data Processing
Back to top
View user's profile Send private message Send e-mail Visit poster's website
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