MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

LISTDS in Rexx..?

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
kris_madras
Beginner


Joined: 07 Apr 2004
Posts: 41
Topics: 30

PostPosted: Thu Aug 05, 2004 2:03 am    Post subject: LISTDS in Rexx..? Reply with quote

Hi all,
Address "TSO" "LISTDS 'E2CTSS2.IIRS.PARMLIB' MEMBERS"

The above command in Rexx displays all members including characteristics. Is there anyway to process each member individually..?

Also I would like to see the space allocated to the pds..


Thanks and Regards,
Kris
Back to top
View user's profile Send private message
superk
Advanced


Joined: 19 Dec 2002
Posts: 684
Topics: 5

PostPosted: Thu Aug 05, 2004 5:18 am    Post subject: Reply with quote

Is there anyway to process each member individually..?

Yes - since, as you showed in your example, you know how to create a list of members. Just the matter of creating a process loop ...

Also I would like to see the space allocated to the pds.

Try the LISTDSI command. It will return TSO variables with the information you seek.
Back to top
View user's profile Send private message
bluebird
Beginner


Joined: 06 Aug 2004
Posts: 2
Topics: 0

PostPosted: Fri Aug 06, 2004 5:52 am    Post subject: Reply with quote

X=listdsi("'HH594D.EURNBAP.CED.EREA0100'")
SAY sysvume
say sysdsname

and so on...

get a nice tso manual to find relevant variables
Back to top
View user's profile Send private message Visit poster's website
Phantom
Data Mgmt Moderator
Data Mgmt Moderator


Joined: 07 Jan 2003
Posts: 1056
Topics: 91
Location: The Blue Planet

PostPosted: Sun Aug 22, 2004 4:40 am    Post subject: Reply with quote

Kris_madras,

Try the following link.

http://www.mvsforums.com/helpboards/viewtopic.php?t=237&highlight=listds

Look at the 4th post (posted by DaveyC) from Last. This will tell you how to cycle thro' the members of a PDS. Note: The first 6 items in the array (Stem) returned by LISTDS contains details about the PDS itself and the member list actually starts from Item 7 of the array.

Hope this Helps,

Cheers,
Phantom
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group