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 Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm
No new posts Append data from two files into a sin... Praveen04 DFSORT/ICETOOL 5 Thu Mar 16, 2017 7:29 pm
No new posts SPUFI -- Joining 3 tables – data in... Sysaron DB2 2 Wed Mar 08, 2017 4:18 am
No new posts Overriding PS data in rexx Shaheen Shaik CLIST & REXX 8 Fri Mar 03, 2017 5:08 pm
No new posts JCL to get submitted once dataset has... vinu78 JCL & VSAM 17 Thu Feb 16, 2017 7:32 am


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