You need to add SMSINFO to get the SMS information returned (X =
"LISTDSI(DSN) SMSINFO").  But this doesn't give you the Storgrp.    

Operator command D SMS,VOLUME(volser) will return the Storgrp name for
"volser", but I couldn't tell you how to get the response into a REXX. 
 
Greg 

-----Original Message-----
From: IBM Mainframe Discussion List On Behalf Of Dave Kopischke
Sent: Friday, February 13, 2009 3:24 PM
To: [email protected]
Subject: Re: rexx to get storgrp

On Fri, 13 Feb 2009 15:13:14 -0600, Jon Koenigs wrote:

>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?
>
>Thanks!
>Jon
>

LISTDSI will return SMS information in:

SYSDSSMS    
SYSDATACLASS
SYSSTORCLASS
SYSMGMTCLASS

I believe the syntax is:

LISTDSI('filename')

----------------------------------------------------------------------
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