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

Way to list all the gdg bases available in a system


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

New User


Joined: 18 Jul 2005
Posts: 15

PostPosted: Thu May 24, 2007 5:34 pm
Reply with quote

Hi,

Is there any way to list all the gdg bases available in a particular system.

Thanks,
Alamelu
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 24, 2007 5:39 pm
Reply with quote

Yes it is, and here's a great link to get started.

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/DGT2C130/B.0?DT=20040708120541
Back to top
View user's profile Send private message
alamelu

New User


Joined: 18 Jul 2005
Posts: 15

PostPosted: Mon May 28, 2007 5:44 pm
Reply with quote

Hi,

Thanks for your help.I have used IDCAMS - LIST CAT itself.

//STEP20 EXEC PGM=IDCAMS
//*
//SYSOUT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSABOUT DD SYSOUT=*
//SYSDBOUT DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//SYSIN DD *
LISTCAT LEVEL(XXXX) GENERATIONDATAGROUP
/*

This list all the the GDG bases that starts with XXXX.*

Thanks,
Alamelu
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Mon May 28, 2007 6:25 pm
Reply with quote

When you said in your original post - all the bases in a system, dis you mean all GDG bases on that system / sysplex, or just those with a given HLQ ?
Back to top
View user's profile Send private message
alamelu

New User


Joined: 18 Jul 2005
Posts: 15

PostPosted: Mon May 28, 2007 10:02 pm
Reply with quote

No i need all the gd bases in th system.With ur details i am not able to frame the jcl..Finally i used the one that will list based on HLQ.It would be great if u can provide any ex that will list the gdg bases in a system..

Thanks,
Alamelu
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Mon May 28, 2007 11:08 pm
Reply with quote

Well, had you have searched the forum for information on GDG's then maybe you might have found this

http://www.ibmmainframes.com/viewtopic.php?t=21257
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Mon May 28, 2007 11:10 pm
Reply with quote

You will need to edit the output, but will have a list of all GDG base definitions on whichever system/LPAR that you run this on.
Back to top
View user's profile Send private message
alamelu

New User


Joined: 18 Jul 2005
Posts: 15

PostPosted: Tue May 29, 2007 9:17 am
Reply with quote

Thanks expat.
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 Sysplex System won't IPL at DR site I... All Other Mainframe Topics 2
No new posts How to create a list of SAR jobs with... CA Products 3
No new posts How to delete a user's alias from the... JCL & VSAM 11
No new posts Insert system time/date (timestamp) u... DFSORT/ICETOOL 5
No new posts JCL Dynamic System Symbols JCL & VSAM 3
Search our Forums:

Back to Top