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: 8657
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 How to list data set names with diffe... murali.andaluri CLIST & REXX 8 Thu Apr 12, 2018 11:33 pm
No new posts Extract the records with a PD field's... sudhakar84 DFSORT/ICETOOL 11 Mon Apr 02, 2018 7:26 pm
No new posts SORT 3 files,extract specific fields ... Kiransr DFSORT/ICETOOL 13 Fri Mar 23, 2018 10:54 am
No new posts Extract record for change in combinat... Trinadh DFSORT/ICETOOL 6 Thu Nov 23, 2017 3:32 pm
No new posts Extract Record using range of Data scorp_rahul23 DFSORT/ICETOOL 3 Wed Nov 15, 2017 11:54 pm

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