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 

Generation Data Groups

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
ibmprofessional
Beginner


Joined: 23 Mar 2003
Posts: 2
Topics: 2

PostPosted: Sun Mar 23, 2003 2:07 am    Post subject: Generation Data Groups Reply with quote

Hi all,

Is GDG applicable only to vsam dataset or can it be applied even to non vsam datasets ..Kindly explain.


with regards,
ARV
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


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

PostPosted: Sun Mar 23, 2003 8:08 am    Post subject: Reply with quote

ibmprofessional,

GDG's are not applicable to VSAM datasets.Check this link for a detailed explanation of GDG'S

http://www.woodfibre.frbc.gov.bc.ca/~smshelp/gdg.htm


Hope this helps...

cheers

kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Premkumar
Moderator


Joined: 28 Nov 2002
Posts: 77
Topics: 7
Location: Chennai, India

PostPosted: Sun Mar 23, 2003 11:26 pm    Post subject: Reply with quote

To add to the info on that link, GDGs can be PDS too.
Back to top
View user's profile Send private message Send e-mail
raj051076
Beginner


Joined: 05 Dec 2002
Posts: 64
Topics: 21

PostPosted: Sat Mar 29, 2003 1:42 pm    Post subject: Reply with quote

Prem how can I define a GDG to use it as a PDS...DO u have an example..Thanks in advance
_________________
Rajib
Back to top
View user's profile Send private message
Premkumar
Moderator


Joined: 28 Nov 2002
Posts: 77
Topics: 7
Location: Chennai, India

PostPosted: Mon Mar 31, 2003 6:07 am    Post subject: Reply with quote

Rajib,

Define the PDS-GDG base as you do for PS-GDG base.
Code:

//STEP01    EXEC PGM=IDCAMS       
//SYSIN     DD   *               
    DEFINE GENERATIONDATAGROUP - 
    (NAME(FDR5618.TEST.PDS.GDG) -
     LIMIT(5) -                   
     NOEMPTY -                   
     NOSCRATCH -                 
    )                             
//SYSPRINT  DD   SYSOUT=*         


Create the PDS generations as you do for normal PDS.
Code:

//STEP02    EXEC PGM=IEFBR14                 
//PDSGDG    DD   DISP=(,CATLG,DELETE),       
//          UNIT=SYSDA,SPACE=(TRK,(4,1,2),RLSE),
//          LRECL=80,RECFM=FB,                 
//          DSN=FDR5618.TEST.PDS.GDG(+1)     
Back to top
View user's profile Send private message Send e-mail
Bill Dennis
Advanced


Joined: 03 Dec 2002
Posts: 579
Topics: 1
Location: Iowa, USA

PostPosted: Mon Mar 31, 2003 8:42 am    Post subject: Reply with quote

I had to try the PDS GDG for myself. You cannot specifiy BOTH a member name and a relative GDG number at the same time. However the DSN=GDG.BASE.G0001V00(member) seem to work OK. Way to go, premukmar!

Bill
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities 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