Or you can try one of the routines from SYS1.SAMPLIB: IGGCSILC IGGCSIRX IGGCSIVG IGGCSIVS
These use the Catalog Search Interface which is documented in IBM's "DFSMS Managing Catalogs". The second member, IGGCSIRX, is a REXX program that used the interface. Al Nims Systems Admin/Programmer 3 Information Technology University of Florida (352) 273-1298 -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Sri h Kolusu Sent: Monday, February 03, 2014 2:57 PM To: [email protected] Subject: Re: How to list just HISTORY and ATTRIBUTES for a GDG index? Peter, If you are just interested in knowing the limit of each GDG base then you can use the smart DFSORT trick "Report on GDG base limits" listed here http://www.ibm.com/support/docview.wss?uid=isg3T7000094 It is quite easy to alter the job to list the create/alter date and scratch/noscratch info on to the report. Let me know if you are interested and I can show you a way to get the desired info. Thanks, Kolusu DFSORT Development IBM Corporation Email: [email protected] IBM Mainframe Discussion List <[email protected]> wrote on 02/03/2014 11:19:02 AM: > From: "Farley, Peter x23353" <[email protected]> > To: [email protected], > Date: 02/03/2014 11:19 AM > Subject: How to list just HISTORY and ATTRIBUTES for a GDG index? > Sent by: IBM Mainframe Discussion List <[email protected]> > > A LISTCAT ALL command for a GDG index lists several pieces of > information about the GDG index entry I need to see, specifically > HISTORY and ATTRIBUTES. However, it also lists information for every > cataloged generation of that GDG, which for a GDG index with a high > LIMIT value can be a lot of lines, and when lots of GDG's need to be > listed then ALL generates far too much information. > > Is there any way to list JUST the HISTORY and ATTRIBUTES for a large > number of GDG indexes? This is a sample of the only information I > would like to see for each one: > > GDG BASE ------ HLQ1.MIDQ1.FILE > IN-CAT --- ICF.CATALOG > HISTORY > DATASET-OWNER-----(NULL) CREATION--------1995.076 > RELEASE----------------2 LAST ALTER------2014.031 > ATTRIBUTES > LIMIT----------------255 SCRATCH NOEMPTY > > I can get the HISTORY part with the HISTORY option, but I really also > need the ATTRIBUTES part for the LIMIT values, but JUST the ATTRIBUTES > and not any of the cataloged generations. > > I can obviously spin the longer ALL output to a file and then filter > it for just what I want to see, but I was hoping there was a way to do > it so I don't have to write that filter. (Yes, I'm being quite lazy ... :) > > TIA for any info or help you can provide. > > Peter > > This message and any attachments are intended only for the use of the > addressee and may contain information that is privileged and > confidential. If the reader of the message is not the intended > recipient or an authorized representative of the intended recipient, > you are hereby notified that any dissemination of this communication > is strictly prohibited. If you have received this communication in > error, please notify us immediately by e-mail and delete the message > and any attachments from your system. > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, send > email to [email protected] with the message: INFO IBM-MAIN > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
