Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
To Get the listof DSN with multipe wild cards

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
Author Message
Huzefa

Active User


Joined: 05 Dec 2006
Posts: 51
Location: Bangalore

PostPosted: Wed Dec 13, 2006 3:22 pm    Post subject: To Get the listof DSN with multipe wild cards
Reply with quote

I want to get the list of files with the stucture

Node1.*.*.Dyymmdd.*.Node6
where yymmdd = current date

Can anybody help me out with this code
Back to top
View user's profile Send private message
References
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 3383
Location: Charlotte,NC USA

PostPosted: Wed Dec 13, 2006 4:26 pm    Post subject: Re: To Get the listof DSN with multipe wild cards
Reply with quote

Since you're using wildcards for nodes of the dataset, you're not going to be able to use the LISTCAT command to get what you need. You will need to use ISPF Library Management services. In your case, you'll need the LMDINIT Service and the LMDLIST Service.
Back to top
View user's profile Send private message
Huzefa

Active User


Joined: 05 Dec 2006
Posts: 51
Location: Bangalore

PostPosted: Wed Dec 13, 2006 6:47 pm    Post subject:
Reply with quote

Can you give me the code for the same
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 3383
Location: Charlotte,NC USA

PostPosted: Wed Dec 13, 2006 7:01 pm    Post subject: Re: To Get the listof DSN with multipe wild cards
Reply with quote

No. See my response to other post.
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 3383
Location: Charlotte,NC USA

PostPosted: Thu Dec 14, 2006 6:28 pm    Post subject: Re: To Get the listof DSN with multipe wild cards
Reply with quote

Here's a previous post with an example of the LMDINIT and LMDLIST ISPF Services coded in REXX.
Back to top
View user's profile Send private message
Huzefa

Active User


Joined: 05 Dec 2006
Posts: 51
Location: Bangalore

PostPosted: Tue Dec 26, 2006 2:34 pm    Post subject:
Reply with quote

Thanks superk
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1