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

Using LISTM to list members of pds - need an example


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
valeti_sashi

New User


Joined: 23 Jun 2006
Posts: 7

PostPosted: Tue Oct 01, 2013 7:50 pm
Reply with quote

Hi,
I want to get list of member in a pds that start with a particular character like 'abc.def(ghi*)'. I found LISTM function that can do that, but I am not sure how to use it. Can someone advise me on how to use it in REXX. I am using MVS Z/OS
My code
Code:

parse value listm("'user01.pli'") with rc memcnt mlist
if rc = 0 then do i=1 to memcnt
  parse var mlist mem mlist; say mem; end
end

Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Oct 01, 2013 8:22 pm
Reply with quote

LISTM is not a standard function/whatever
the people to ask are those those who provided it

for alternative ways search the forum with
term ==> LMMLIST
and in the second box enter enrico*

to find, for example

www.ibmmainframes.com/viewtopic.php?t=60743&highlight=lmmlist
or :
ibmmainframes.com/viewtopic.php?t=25947&highlight=lmmlist
or :
www.ibmmainframes.com/viewtopic.php?t=60794&highlight=lmmlist
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 -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts How to create a list of SAR jobs with... CA Products 3
No new posts Duplicate several members of/in one l... JCL & VSAM 7
No new posts Build dataset list with properties us... PL/I & Assembler 4
No new posts list pds members name starting with xyz CLIST & REXX 11
No new posts List of quiesced jobs JCL & VSAM 3
Search our Forums:

Back to Top