True. I've used DCOLLECT in the past. In fact, we run a daily DCOLLECT in the early morning for just such reporting.
My modification to the current batch program is in upgrading it, __and__ making a corresponding UNIX command to be issued from from a UNIX shell prompt. Granted, I can use some weird coding to run a z/OS batch program from the UNIX shell and then process its output. But I'd like to make a "pure native" command. This is just more for my learning. All in HLASM. I've gotten fairly good at it. The weirdest part, to me, is how to use the C sprintf() routine from HLASM in order to make "really nice looking" output. The C language calling convention is quite different. -- John McKown Systems Engineer IV IT Administrative Services Group HealthMarkets(r) 9151 Boulevard 26 * N. Richland Hills * TX 76010 (817) 255-3225 phone * john.mck...@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 > -----Original Message----- > 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 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 > <john.mck...@healthmarkets.com> 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 * > >john.mck...@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 > > > > > > > >> -----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 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:IBM-MAIN@bama.ua.edu] On Behalf Of McKown, John > >> Sent: Thursday, February 09, 2012 8:13 AM > >> To: IBM-MAIN@bama.ua.edu > >> 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 * > >> john.mck...@healthmarkets.com * www.HealthMarkets.com > >> > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN > > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN