IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Extract PDS member Names in a PS


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
srajanbose

New User


Joined: 11 Oct 2004
Posts: 69
Location: chennai

PostPosted: Tue Sep 09, 2008 11:08 am
Reply with quote

Hi,
My requirement is like i want to extract member names from a PDS to a PS.I dont have PDSLIST utility.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Tue Sep 09, 2008 11:19 am
Reply with quote

My favorite method is the LMMLIST service.

O.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Tue Sep 09, 2008 11:27 am
Reply with quote

Or LISTDS or IEHLIST
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1287
Location: Chennai, India

PostPosted: Tue Sep 09, 2008 4:53 pm
Reply with quote

Rajan,

Few more suggestions.

As suggested, use LISTDS to list the members and trap it to a stem variable.

Code:
ADDRESS TSO
DUMMY =OUTTRAP(MEMB.)
"LISTDS '"DSN"' MEMBERS"
DUMMY =OUTTRAP(OFF)


Once the LISTDS command is executed, the first line in the screen would be
Code:
"--MEMBERS--"
which needs to ignored while reading the MEMB stem variable.

Strip the variable, Read and write it into a new sequential file.
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Tue Sep 09, 2008 6:49 pm
Reply with quote

Hi,

Try this link:

www.ibmmainframes.com/viewtopic.php?t=27509&highlight=member+list
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Need help for File Aid JCL to extract... Compuware & Other Tools 23
No new posts optim extract file - SAS DB2 2
No new posts How to copy the -1 version of a membe... TSO/ISPF 4
No new posts Searching for a member but don't know... TSO/ISPF 6
No new posts Looking For a PDS Member Without Open... PL/I & Assembler 10
Search our Forums:

Back to Top