Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Extract PDS member Names in a PS

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
srajanbose
Warnings : 1

New User


Joined: 11 Oct 2004
Posts: 69
Location: chennai

PostPosted: Tue Sep 09, 2008 11:08 am    Post subject: Extract PDS member Names in a PS
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: 2360
Location: Israel

PostPosted: Tue Sep 09, 2008 11:19 am    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Tue Sep 09, 2008 11:27 am    Post subject:
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: 1288
Location: Chennai, India

PostPosted: Tue Sep 09, 2008 4:53 pm    Post subject: Reply to: Extract PDS member Names in a PS
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    Post subject:
Reply with quote

Hi,

Try this link:

http://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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Spool Extract for Z /os 1.04 version Khadhar Basha CLIST & REXX 3 Thu Sep 28, 2017 3:14 pm
This topic is locked: you cannot edit posts or make replies. Extract all "IF" Statements... Adarsh Damodaran CLIST & REXX 1 Wed Sep 06, 2017 9:28 am
No new posts Extract Data till prev hour balaji81_k DB2 16 Fri Aug 25, 2017 9:25 pm
No new posts RFE: DB2 support for mixed case names. Pedro DB2 0 Tue Jul 04, 2017 1:32 am
No new posts What is the Extract Function in JCL dharmaraok JCL & VSAM 3 Wed Jun 14, 2017 9:12 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us