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 

GDG related doubt

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


Joined: 04 Oct 2003
Posts: 68
Topics: 25

PostPosted: Thu Dec 18, 2003 7:14 am    Post subject: GDG related doubt Reply with quote

Hi,
Can anybody please tell me whats is the structure of a base GDG ? I have tried making different versions of different LREC manually by copying and changing the "Gnnn" of a prev generation.It works!! Why is it not possible to make a VSAM file as one of the generations of a GDG?
Regards
cobcurious
Back to top
View user's profile Send private message
SureshKumar
Intermediate


Joined: 23 Jan 2003
Posts: 211
Topics: 21

PostPosted: Thu Dec 18, 2003 9:00 am    Post subject: Reply with quote

Cobcurious,
Simple answer is - GDG is for a Flat File system. As you have tested LRECL does not matter but VSAM is a sophisticated file management system. If you would have noticed we do not create a VSAM file in a job step, its done externally thru IDCAMS and they have different flavors (KSDS,ESDS..) and a different storage management system than GDG's which is managed by SMS.
Back to top
View user's profile Send private message
Mike Chantrey
Intermediate


Joined: 10 Sep 2003
Posts: 234
Topics: 1
Location: Wansford

PostPosted: Thu Dec 18, 2003 9:28 am    Post subject: Reply with quote

Suresh said:
Quote:
we do not create a VSAM file in a job step


This is not correct; with SMS active you can create VSAM files in any job step.
It's not as flexible as creating them with IDCAMS however. For example see an up-to-date version of the JCL reference and look up the RECORG subparameter of the DD statement. This allows you to specify the type of VSAM file you are creating.
However, you still can't use them with GDGs and probably never will be able to. There's ultimately no technical reason why IBM couldn't create some sort of VSAM GDG-like feature but they won't because that's just not what VSAM and GDGs are for. The closest you can probably get is using IDCAMS or similar method to dump VSAM files into flat files in a GDG.
Back to top
View user's profile Send private message
cobcurious
Beginner


Joined: 04 Oct 2003
Posts: 68
Topics: 25

PostPosted: Sun Dec 21, 2003 10:53 pm    Post subject: Reply with quote

Hi,
Thank you Suresh Kumar and Mike Chantrey for your replies.But I have not got the answer for
Quote:

whats is the structure of a base GDG ?

I request anyone to explain as to what does the base GDG contain ? Does it contains the name of the associated generations ?
Pls let me know
Regrds
Cobcurious
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


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

PostPosted: Mon Dec 22, 2003 6:25 am    Post subject: Reply with quote

cobcurious,


Check this link for detailed explaination of GDG's

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/DGT2D410/3.9?DT=20020122112221

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