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 Storing huge volume of data, compare ... Pradeep K M All Other Mainframe Topics 3 Mon Jan 16, 2017 5:08 pm
No new posts how to recover an uncataloged VSAM da... archanamuthukrishnan All Other Mainframe Topics 3 Wed Jan 11, 2017 6:18 pm
No new posts HALDB data refresh/copy from producti... vineetanand2007 IMS DB/DC 1 Mon Jan 02, 2017 11:16 am
No new posts JES2 JEC: Use UNIX Pipes to Pass Data... Virendra Shambharkar JCL & VSAM 21 Tue Dec 20, 2016 6:55 pm
No new posts SQL query to run through list of valu... Ni3-db2 DB2 14 Wed Dec 14, 2016 9:52 am


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