Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Extracting GDG Base

224 views
Skip to first unread message

Jacky Bright

unread,
Nov 24, 2009, 3:50:57 PM11/24/09
to
Business Operation Department has requested to extract all GDG base dataset
names from the system. Is there any utility by which I can have these
details from the catalog ?

JAcky

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to list...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

McKown, John

unread,
Nov 24, 2009, 4:09:40 PM11/24/09
to
> -----Original Message-----
> From: IBM Mainframe Discussion List
> [mailto:IBM-...@bama.ua.edu] On Behalf Of Jacky Bright
> Sent: Tuesday, November 24, 2009 2:49 PM
> To: IBM-...@bama.ua.edu
> Subject: Extracting GDG Base
>
> Business Operation Department has requested to extract all
> GDG base dataset
> names from the system. Is there any utility by which I can have these
> details from the catalog ?
>
> JAcky

I don't know of a way to do it "system wide", but you can get all GDG bases from a specific catalog via:

//IDCAMS EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
LISTC GDG CAT(catalog.name)
/*
//

You need one such LISTC for each catalog. If you leave off the CAT(catalog.name) the LISTC looks only in the master catalog.

--
John McKown
Systems Engineer IV
IT

Administrative Services Group

HealthMarkets(r)

9151 Boulevard 26 * N. Richland Hills * TX 76010
(817) 255-3225 phone * (817)-961-6183 cell
john....@healthmarkets.com * www.HealthMarkets.com

Confidentiality Notice: This e-mail message may contain confidential or proprietary information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. HealthMarkets(r) is the brand name for products underwritten and issued by the insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance Company(r), Mid-West National Life Insurance Company of TennesseeSM and The MEGA Life and Health Insurance Company.SM

Mark Zelden

unread,
Nov 24, 2009, 4:33:44 PM11/24/09
to
On Tue, 24 Nov 2009 15:08:23 -0600, McKown, John
<John....@HEALTHMARKETS.COM> wrote:

>> -----Original Message-----
>> From: IBM Mainframe Discussion List
>> [mailto:IBM-...@bama.ua.edu] On Behalf Of Jacky Bright
>> Sent: Tuesday, November 24, 2009 2:49 PM
>> To: IBM-...@bama.ua.edu
>> Subject: Extracting GDG Base
>>
>> Business Operation Department has requested to extract all
>> GDG base dataset
>> names from the system. Is there any utility by which I can have these
>> details from the catalog ?
>>
>> JAcky
>
>I don't know of a way to do it "system wide", but you can get all GDG bases
from a specific catalog via:
>
>//IDCAMS EXEC PGM=IDCAMS
>//SYSPRINT DD SYSOUT=*
>//SYSIN DD *
> LISTC GDG CAT(catalog.name)
>/*
>//
>
>You need one such LISTC for each catalog. If you leave off the
CAT(catalog.name) the LISTC looks only in the master catalog.
>


The CSI (Catalog Search Interface) can be used. See IGGCSIRX sample
in SYS1.SAMPLIB or CATSRCH on my web site.

Run it with a key of '**' if you want to look at all data sets in
all catalogs. You can modify the code to throw out anything that
isn't a GDG base record (type "B").

Mark
--
Mark Zelden
Sr. Software and Systems Architect - z/OS Team Lead
Zurich North America / Farmers Insurance Group - ZFUS G-ITO
mailto:mark....@zurichna.com
z/OS Systems Programming expert at http://expertanswercenter.techtarget.com/
Mark's MVS Utilities: http://home.flash.net/~mzelden/mvsutil.html

Gilbert Cardenas

unread,
Nov 24, 2009, 4:40:59 PM11/24/09
to
You could also use IGGCSIRX in SYS1.SAMPLIB and the option H or B to
extract all gds/gdgs. I think it is documented in DFSMS Managing
Catalogs.

On Tue, 24 Nov 2009 15:08:23 -0600, McKown, John
<John....@HEALTHMARKETS.COM> wrote:

>> -----Original Message-----
>> From: IBM Mainframe Discussion List
>> [mailto:IBM-...@bama.ua.edu] On Behalf Of Jacky Bright
>> Sent: Tuesday, November 24, 2009 2:49 PM
>> To: IBM-...@bama.ua.edu
>> Subject: Extracting GDG Base
>>
>> Business Operation Department has requested to extract all
>> GDG base dataset
>> names from the system. Is there any utility by which I can have
these
>> details from the catalog ?
>>
>> JAcky
>
>I don't know of a way to do it "system wide", but you can get all GDG
bases from a specific catalog via:
>
>//IDCAMS EXEC PGM=IDCAMS
>//SYSPRINT DD SYSOUT=*
>//SYSIN DD *
> LISTC GDG CAT(catalog.name)
>/*
>//
>
>You need one such LISTC for each catalog. If you leave off the CAT
(catalog.name) the LISTC looks only in the master catalog.
>

>--
>John McKown
>Systems Engineer IV
>IT
>
>Administrative Services Group
>
>HealthMarkets(r)
>
>9151 Boulevard 26 * N. Richland Hills * TX 76010
>(817) 255-3225 phone * (817)-961-6183 cell
>john....@healthmarkets.com * www.HealthMarkets.com
>
>Confidentiality Notice: This e-mail message may contain confidential
or proprietary information. If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies of the original
message. HealthMarkets(r) is the brand name for products underwritten
and issued by the insurance subsidiaries of HealthMarkets, Inc. -The
Chesapeake Life Insurance Company(r), Mid-West National Life
Insurance Company of TennesseeSM and The MEGA Life and Health
Insurance Company.SM
>
>
>

Stephen Mednick

unread,
Nov 24, 2009, 5:03:12 PM11/24/09
to
> -----Original Message-----
> From: IBM Mainframe Discussion List [mailto:IBM-...@bama.ua.edu] On Behalf
> Of Jacky Bright
> Sent: Wednesday, 25 November 2009 7:49 AM
> To: IBM-...@bama.ua.edu
> Subject: Extracting GDG Base
>
> Business Operation Department has requested to extract all GDG base dataset
> names from the system. Is there any utility by which I can have these
> details from the catalog ?
>
> Jacky

Are you licensed for Innovation Data Processing's ABR or FDREPORT products? If so
there's a very simple FDREPORT job that will get the information you need using
the following control cards:

**********
*
* Job extracts GDG base information from the system catalogs.
* Currently it takes about 74 seconds to extract the data
* from 295,040 GDG base records residing in a catalog structure
* containing 1.663 million entries.
*
**********
SUMMARY FIELD=DSN /* summarize entries processed */
REPORT FIELD=(GDGBASE, /* gdg base name */
GDGENTRY, /* active entry count */
GDGLIMIT, /* active entry limit */
GDGFLAGS, /* processing flags */
GDGLADAT) /* last altered date */
PRINT DATATYPE=CATALOG, /* process system catalogs */
ENABLE=GDGBASEONLY /* select only GDG base names */


Stephen Mednick
Computer Supervisory Services
Sydney, Australia

Asia/Pacific representatives for
Innovation Data Processing, Inc.

0 new messages