Getting the Storage Group name for a DASD volume.

2012-02-09 Thread McKown, John
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.

Re: Getting the Storage Group name for a DASD volume.

2012-02-09 Thread Norbert Friemel
On Thu, 9 Feb 2012 08:13:19 -0600, McKown, John wrote: >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

Re: Getting the Storage Group name for a DASD volume.

2012-02-09 Thread McKown, John
orbert Friemel > Sent: Thursday, February 09, 2012 8:40 AM > To: IBM-MAIN@bama.ua.edu > Subject: Re: Getting the Storage Group name for a DASD volume. > > On Thu, 9 Feb 2012 08:13:19 -0600, McKown, John wrote: > > >I am updating an old DASD management program. It does a >

Re: Getting the Storage Group name for a DASD volume.

2012-02-09 Thread Dennis Trojak
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

Re: Getting the Storage Group name for a DASD volume.

2012-02-09 Thread McKown, John
ife and Health Insurance Company.SM > -Original Message- > From: IBM Mainframe Discussion List > [mailto:IBM-MAIN@bama.ua.edu] On Behalf Of Dennis Trojak > Sent: Thursday, February 09, 2012 9:47 AM > To: IBM-MAIN@bama.ua.edu > Subject: Re: Getting the Storage Group n

Re: Getting the Storage Group name for a DASD volume.

2012-02-09 Thread Scott Barry
MEGA Life and Health Insurance Company.SM > > > >> -Original Message- >> From: IBM Mainframe Discussion List >> [mailto:IBM-MAIN@bama.ua.edu] On Behalf Of Dennis Trojak >> Sent: Thursday, February 09, 2012 9:47 AM >> To: IBM-MAIN@bama.ua.edu &

Re: Getting the Storage Group name for a DASD volume.

2012-02-09 Thread Norbert Friemel
On Thu, 9 Feb 2012 09:57:30 -0600, McKown, John 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. You cou

Re: Getting the Storage Group name for a DASD volume.

2012-02-09 Thread Bill Fairchild
Discussion List [mailto:IBM-MAIN@bama.ua.edu] On Behalf Of Dennis Trojak Sent: Thursday, February 09, 2012 9:47 AM To: IBM-MAIN@bama.ua.edu 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

Re: Getting the Storage Group name for a DASD volume.

2012-02-09 Thread McKown, John
> From: IBM Mainframe Discussion List > [mailto:IBM-MAIN@bama.ua.edu] On Behalf Of Scott Barry > Sent: Thursday, February 09, 2012 10:27 AM > To: IBM-MAIN@bama.ua.edu > Subject: Re: Getting the Storage Group name for a DASD volume. > > The IDCAMS utility DCOLLECT has this func

Re: Getting the Storage Group name for a DASD volume.

2012-02-09 Thread Rob Scott
@bama.ua.edu] On Behalf Of Bill Fairchild Sent: 09 February 2012 16:45 To: IBM-MAIN@bama.ua.edu Subject: Re: Getting the Storage Group name for a DASD volume. Presumably whoever coded the subsys call to SMS within SHOWMVS had access to some kind of doc (or to previously written working code, the author

Re: Getting the Storage Group name for a DASD volume.

2012-02-09 Thread Shmuel Metz (Seymour J.)
In , on 02/09/2012 at 08:13 AM, "McKown, John" said: >I would like to output the storage group name if it is. I would look at the SSI mapping macros. They're mostly not GUPI, but should be reasonably stable. -- Shmuel (Seymour J.) Metz, SysProg and JOAT ISO position; see

Re: Getting the Storage Group name for a DASD volume.

2012-02-09 Thread Martin Packer
martin_pac...@uk.ibm.com Twitter / Facebook IDs: MartinPacker Blog: https://www.ibm.com/developerworks/mydeveloperworks/blogs/MartinPacker From: Norbert Friemel To: IBM-MAIN@bama.ua.edu, Date: 09/02/2012 14:40 Subject: Re: Getting the Storage Group name for a DASD volume. Sent by: IBM Mainframe Discu

Re: Getting the Storage Group name for a DASD volume.

2012-02-09 Thread Bill Soper
Hi, take a look at: http://www.cbttape.org/xephon/xephonm/mvs0206.pdf This seems to have doc and samples for the SMS subsys interface to do exactly what you're asking -- For IBM-MAIN subscribe / signoff / archive access instr