🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.asm370
Article #523

Re: VSAM Question

#523
From: Thomas P. Anderson
Date: Fri, 02 Oct 1992 20:12
44 lines
2513 bytes
In article <1992Sep30.150028.22228@bilver.uucp>, dandrews@bilver.uucp (Dave Andrews) writes:
|> In article <9209291218.AA25935@nettlerash.berkeley.edu> IBM 370 Assembly Programming Discussion List <ASM370%UGA.BITNET@cmsa.Berkeley.EDU> writes:
|> >Hello All,
|> >   We have MVS/ESA 4.2 and Assembler H v2.0.
|> > I'm trying to read a VSAM user catalog and then extract the
|> >cluster names and put them on a separate file, same as IDCAMS
|> >LISTCAT command then after that I want to check if the cluster
|> >names is a KSDS or ESDS structure if so I want to check CI and
|> >number of extent for that cluster, I've used the SHOWCAT and SHOWCB
|> >Macros but with out any sucesseded .
|> 
|> Assuming that your VSAM user catalog is ICF, it is possible for you
|> to open the user catalog directly as a KSDS and read the cluster
|> record yourself.  This has a tremendous speed advantage over having
|> to post-process IDCAMS listings.
|> 
|> Unfortunately, the DFP documentation these days neglects to point out
|> that you can do this.  Also, IBM has ceased distributing the record
|> layouts for ICF catalogs.  If you have access to older (DFP1) catalog
|> PLMs then you can find the descriptions of the records.
|> 
|> At SHARE, IBM is none-too-subtly discouraging us from directly reading
|> ICF catalogs, but they haven't given us any alternative yet.
|> 
|> If this interests you, contact me and I'll tell you what I can.
|> 
|> - David Andrews
|>   A. Duda and Sons, Inc.
|>   1975 W. Broadway
|>   Oviedo, FL  USA
|>   407-365-2153
|>   dandrews@bilver.oau.org

There are a couple of ways to go about this, but I before you go too far afield
please describe what happend with SHOWCAT.  It really seems to fit your needs.
An alternative is to use SVC 26 (LOCATE), building your own CTGPL (forget about
CAMLIST), but this is a little tricky.  Better to debug your SHOWCAT program.
 
Mail me if you need help.
 
Tom A.
tpa10@css.amdahl.com
 
PS  Hi Dave!
Technical Details
Message-ID: <89lT02UO24Bq01@JUTS.ccc.amdahl.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!pipex!unipalm!uknet!doc.ic.ac.uk!agate!spool.mu.edu!think.com!ames!pacbell.com!charon.amdahl.com!amdahl!JUTS!snappy-tom!tpa10
References: <9209291218.AA25935@nettlerash.berkeley.edu> <1992Sep30.150028.22228@bilver.uucp>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!pipex!unipalm!uknet!doc.ic.ac.uk!agate!spool.mu.edu!think.com!ames!pacbell.com!charon.amdahl.com!amdahl!JUTS!snappy-tom!tpa10
From: tpa10@snappy-tom.NoSubdomain.NoDomain (Thomas P. Anderson)
Newsgroups: comp.lang.asm370
Subject: Re: VSAM Question
Message-ID: <89lT02UO24Bq01@JUTS.ccc.amdahl.com>
Date: 2 Oct 92 20:12:35 GMT
References: <9209291218.AA25935@nettlerash.berkeley.edu> <1992Sep30.150028.22228@bilver.uucp>
Sender: netnews@ccc.amdahl.com
Distribution: inet
Lines: 44