View previous topic :: View next topic |
Author |
Message |
kris_madras Beginner
Joined: 07 Apr 2004 Posts: 41 Topics: 30
|
Posted: Thu Aug 05, 2004 2:03 am Post subject: LISTDS in Rexx..? |
|
|
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 |
|
 |
superk Advanced

Joined: 19 Dec 2002 Posts: 684 Topics: 5
|
Posted: Thu Aug 05, 2004 5:18 am Post subject: |
|
|
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 |
|
 |
bluebird Beginner
Joined: 06 Aug 2004 Posts: 2 Topics: 0
|
Posted: Fri Aug 06, 2004 5:52 am Post subject: |
|
|
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 |
|
 |
Phantom Data Mgmt Moderator

Joined: 07 Jan 2003 Posts: 1056 Topics: 91 Location: The Blue Planet
|
Posted: Sun Aug 22, 2004 4:40 am Post subject: |
|
|
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 |
|
 |
|
|