Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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: 8593
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: 8593
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: 8593
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: 8593
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 Overlay the system date Danielle.Filteau SYNCSORT 4 Fri Mar 03, 2017 1:16 am
No new posts SQL query to run through list of valu... Ni3-db2 DB2 14 Wed Dec 14, 2016 9:52 am
No new posts IMS BMP program causes 878 system abend Artemk IMS DB/DC 7 Tue Nov 22, 2016 8:26 pm
No new posts Check System time(Minute) Using TIME1... balaji81_k DFSORT/ICETOOL 5 Fri Nov 11, 2016 10:53 am
No new posts Cobol list of programs being called biswajit.dattagupta COBOL Programming 5 Tue Nov 01, 2016 2:10 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us