Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Way to list all the gdg bases available in a system

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Way to list all the gdg bases available in a system
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: 8679
Location: Back in jolly old England

PostPosted: Thu May 24, 2007 5:39 pm    Post subject:
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    Post subject:
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: 8679
Location: Back in jolly old England

PostPosted: Mon May 28, 2007 6:25 pm    Post subject:
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    Post subject:
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: 8679
Location: Back in jolly old England

PostPosted: Mon May 28, 2007 11:08 pm    Post subject:
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: 8679
Location: Back in jolly old England

PostPosted: Mon May 28, 2007 11:10 pm    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts UNIX System Services Resource Busy Martin Wickenden All Other Mainframe Topics 3 Thu Jun 14, 2018 5:51 pm
No new posts Extracting DDL for all list of intere... Ashishpanpaliya DB2 5 Mon May 21, 2018 4:08 pm
No new posts How to list data set names with diffe... murali.andaluri CLIST & REXX 10 Thu Apr 12, 2018 11:33 pm
No new posts List of jobs ran thru scheduler ddhar All Other Mainframe Topics 1 Tue Mar 27, 2018 4:32 am
No new posts How could i share my personal dataset... James Halley TSO/ISPF 1 Fri Mar 23, 2018 9:41 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us