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 wild cards for data set list.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
bonniem

New User


Joined: 09 Aug 2005
Posts: 67

PostPosted: Thu Nov 16, 2006 11:26 am    Post subject: Using wild cards for data set list.
Reply with quote

Hi,

I want to list datasets say of the pattern using REXX.
Code:
"ACH.TST*.REXX.JCLS".


I know we can use the wild card "ACH.*.REXX.JCLS". in and IDCAMS step or in LISTDS and then separate the required result. But in that case the tool will need to be changed if the wild card changes. I need to know if there is a direct way of getting all datasets with a given pattern.
Back to top
View user's profile Send private message

ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Thu Nov 16, 2006 12:23 pm    Post subject:
Reply with quote

Try the ISPF service LMDLIST.

O.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Thu Nov 16, 2006 12:23 pm    Post subject:
Reply with quote

Try the ISPF service LMDLIST.

O.
Back to top
View user's profile Send private message
Mickeydusaor

Active User


Joined: 24 May 2006
Posts: 258
Location: Salem, Oregon

PostPosted: Fri Nov 24, 2006 9:37 pm    Post subject:
Reply with quote

Code:

PARSE UPPER ARG DSN

"LMDINIT LISTID(XQDSLST) LEVEL("DSN")"

"LMDDISP LISTID("XQDSLST")"

IF RC > 0
  THEN DO
    "SETMSG MSG("ZERRMSG")"
  END

"LMDFREE LISTID("XQDSLST")"

EXIT
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 member list compare jzhardy TSO/ISPF 6 Fri May 12, 2017 3:18 pm
No new posts Replace values in the input data Vikas Maharnawar DFSORT/ICETOOL 10 Thu May 11, 2017 2:18 pm
No new posts Group Data based on a key Arun Raj DFSORT/ICETOOL 7 Thu Apr 27, 2017 11:29 pm
No new posts unload data from table with lob columns farhad_evan DB2 0 Sat Apr 22, 2017 1:32 pm
No new posts SORT JSON type of data maxsubrat DFSORT/ICETOOL 8 Wed Apr 19, 2017 6:01 pm


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