The IDCAMS utility DCOLLECT has this functionality and it generates a useful output file for post-processing.
Scott Barry SBBWorks, Inc. On Thu, 9 Feb 2012 09:57:30 -0600, McKown, John <[email protected]> wrote: >Thanks. I've downloaded it and am looking at the source. One "problem" so far, >for me, is that I don't really like using undocumented interfaces. I'm a GUPI >kind of guy. And I can't find any IBM doc on using the SSI calls to SMS. I'll >do it, but it will take a while for me to decode how SHOWMVS is actually doing >the work. And how to port that portion of the code into my own code. I will >likely separate it out into a separate source module as a callable subroutine. > >-- >John McKown >Systems Engineer IV >IT > >Administrative Services Group > >HealthMarkets(r) > >9151 Boulevard 26 * N. Richland Hills * TX 76010 >(817) 255-3225 phone * >[email protected] * 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 > > > >> -----Original Message----- >> From: IBM Mainframe Discussion List >> [mailto:[email protected]] On Behalf Of Dennis Trojak >> Sent: Thursday, February 09, 2012 9:47 AM >> To: [email protected] >> Subject: Re: Getting the Storage Group name for a DASD volume. >> >> John, >> Checkout SHOWMVS. It makes a subsys call to SMS to do just that. >> Dennis >> >> -----Original Message----- >> From: IBM Mainframe Discussion List >> [mailto:[email protected]] On Behalf Of McKown, John >> Sent: Thursday, February 09, 2012 8:13 AM >> To: [email protected] >> Subject: Getting the Storage Group name for a DASD volume. >> >> I am updating an old DASD management program. It does a >> UCBSCAN to scan the online DASD volumes and an LSPACE to get >> the space information from them. I also get the Format 4 >> DSCB. I check DS4SMSFG to see if the volume is SMS managed or >> not. I would like to output the storage group name if it is. >> But I cannot find any indication of how to get that >> information. I know it is possible because QuickRef does it. >> Is this another of the "if you want to know that, you need to >> give us a lot of money and sign an NDA" part of z/OS? I >> really dispise that of IBM. No wonder I like GNU software. >> Oh, well, "anything for a buck!" is the main corporate motto >> in today's world. >> >> John McKown >> Systems Engineer IV >> IT >> >> Administrative Services Group >> >> HealthMarkets(r) >> >> 9151 Boulevard 26 * N. Richland Hills * TX 76010 >> (817) 255-3225 phone * >> [email protected] * www.HealthMarkets.com >> ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN

