View previous topic :: View next topic |
Author |
Message |
amit4u79 Beginner
Joined: 24 Oct 2005 Posts: 109 Topics: 36 Location: India
|
Posted: Mon Oct 24, 2005 4:45 am Post subject: How to Model GDG as per existing GDG entry !! |
|
|
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 |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Mon Oct 24, 2005 9:08 am Post subject: |
|
|
amit4u79,
MODEL parameter is obsolete if your shop has SMS !
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
 |
bablack Beginner
Joined: 04 Dec 2002 Posts: 71 Topics: 0 Location: Little Falls, NJ
|
Posted: Tue Oct 25, 2005 2:09 pm Post subject: |
|
|
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 |
|
 |
|
|