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
 
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: 10457
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 How to list data set names with diffe... murali.andaluri CLIST & REXX 8 Thu Apr 12, 2018 11:33 pm
No new posts List of jobs ran thru scheduler ddhar All Other Mainframe Topics 1 Tue Mar 27, 2018 4:32 am
No new posts How could i share my personal dataset... James Halley TSO/ISPF 1 Fri Mar 23, 2018 9:41 pm
This topic is locked: you cannot edit posts or make replies. How could i share my personal dataset... samenxia163 TSO/ISPF 1 Fri Mar 09, 2018 12:18 pm
No new posts Get the list of data sets on DASD and... rakaitn JCL & VSAM 3 Thu Mar 08, 2018 12:38 pm

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