Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Using LISTM to list members of pds - need an example

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
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    Post subject: Using LISTM to list members of pds - need an example
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10231
Location: italy

PostPosted: Tue Oct 01, 2013 8:22 pm    Post subject: Reply to: Using LISTM to list members of pds - need an examp
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

http://www.ibmmainframes.com/viewtopic.php?t=60743&highlight=lmmlist
or :
http://ibmmainframes.com/viewtopic.php?t=25947&highlight=lmmlist
or :
http://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    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Copying Panvalet members to PDS LOGESHWARAN K CA Products 4 Mon Mar 06, 2017 10:45 am
No new posts SQL query to run through list of valu... Ni3-db2 DB2 14 Wed Dec 14, 2016 9:52 am
No new posts Cobol list of programs being called biswajit.dattagupta COBOL Programming 5 Tue Nov 01, 2016 2:10 am
No new posts reorder screeNS using SWAP LIST? mrsidhu12 TSO/ISPF 5 Thu Sep 01, 2016 2:19 pm
No new posts Getting list of tables defined under ... kishpra DB2 2 Wed Aug 24, 2016 10:36 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us