IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Need to get the gdg file name and all defined generations


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
raghavmcs

Active User


Joined: 14 Jul 2005
Posts: 105

PostPosted: Thu May 28, 2009 12:52 am
Reply with quote

Dear Experts

As per a system improvement exercise I need to get all the GDG bases names in production after that I would need all the allowed/defined generation for that base.



I am curious if there could be procedure which can give me this information!!!
Thanks
Back to top
View user's profile Send private message
raghavmcs

Active User


Joined: 14 Jul 2005
Posts: 105

PostPosted: Thu May 28, 2009 12:56 am
Reply with quote

I think I have got some way,let me see if that works as per my need,thanks
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu May 28, 2009 11:33 am
Reply with quote

I posted some REXX code in the VSAM & SMS forum quite recently to do something very similar.
Back to top
View user's profile Send private message
Dave Ganter

New User


Joined: 04 Jun 2009
Posts: 3
Location: New York - USA

PostPosted: Fri Jun 12, 2009 5:14 am
Reply with quote

This will do the second half of your request.


Code:
//STEP010 EXEC PGM=IDCAMS
//SYSIN     DD *
 LISTCAT  ENTRIES(?DSN?) -
          ALL
/*
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
Search our Forums:

Back to Top