Unfortunately, unlike storclas which is what I thought you wanted, storgrp is 
not maintained for the dataset.  Once the dataset is allocated, that 
information is discarded.  The storage group is maintained of the volume 
(D SMS,VOL(xx) displays it). You can get the volume using the CSI but I don't 
know how to get the storgrp from the volume using REXX.

-----Original Message-----
From: Schwarz, Barry A 
Sent: Friday, February 13, 2009 2:31 PM
To: '[email protected]'
Subject: RE: rexx to get storgrp

There is a REXX interface to the Catalog Search Interface described in the 
DFSMS Managing Catalogs manual (SC76-2409-05, Appendix C for my z/OS 1.8 
system).  A sample, IGGCSIRX, should be is SYS1.SAMPLIB.

-----Original Message-----
From: Jon Koenigs [mailto:[email protected]] 
Sent: Friday, February 13, 2009 1:13 PM
To: [email protected]
Subject: rexx to get storgrp

Does anyone have a rexx for which you could input a dataset or volume and it 
would spit out the sms storgrp it is in?

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

Reply via email to