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
 

 

save members of a pds starting with a certain pattern

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
ashishwach

New User


Joined: 07 Nov 2008
Posts: 19
Location: India

PostPosted: Tue Nov 25, 2008 3:01 pm    Post subject: save members of a pds starting with a certain pattern
Reply with quote

Hi all,
Could anyone pls tell how members (of a pds) starting with a certain pattern say a7 can be stored in an array using rexx.
I checked with other threads and found something like lmmlist..but when I tried opening the link, I was not able to get the exact syntax..
Thanks..
Back to top
View user's profile Send private message

ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Tue Nov 25, 2008 3:06 pm    Post subject:
Reply with quote

LMMLIST is indeed my favorite selection. You can read about it in the fine manual (ISPF Services).

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

New User


Joined: 07 Nov 2008
Posts: 19
Location: India

PostPosted: Tue Nov 25, 2008 3:24 pm    Post subject:
Reply with quote

Thanks for that.. I tried reading through ISPF help availbale...
But there is no syntax given for the member selection..
If you could please provide me with Syntax as to how can I get the required list...would be really helpful..
I think I am asking for much..but m using it for the first time...I beg your pardon for tht...
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Tue Nov 25, 2008 3:34 pm    Post subject:
Reply with quote

At the top of this page, you can see "IBM manuals" link. Look for "ISPF Services Guide". Your answer is in there.

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

New User


Joined: 07 Nov 2008
Posts: 19
Location: India

PostPosted: Tue Nov 25, 2008 4:16 pm    Post subject:
Reply with quote

I tried running following code in Rexx..for generating the Data Id associated with that dataset..
/* ************************** REXX ****************************** */
ISPEXEC LMINIT DATAID(DDVAR) DATASET(LIB.FCS.JCLLIB) ENQ(SHR)
CALL ISPLINK('LMINIT ','DDVAR ',
' ',' ',' ',' ',' ',' ',
'LIB.FCS.JCLLIB',' ',
' ',' ','SHR ');
SAY DDVAR
ISPEXEC LMFREE DATAID(DDVAR)

But it thrown an error 3+++ saying Routine not found..
Could you pls tell me about that..
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Tue Nov 25, 2008 4:16 pm    Post subject: Reply to: save members of a pds starting with a certain patt
Reply with quote

You have to start with the LMINIT Service.

Then, the LMOPEN Service.

Then, you can use the LMMLIST Service.
Back to top
View user's profile Send private message
Garry Carroll

Active Member


Joined: 08 May 2006
Posts: 994
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Tue Nov 25, 2008 4:30 pm    Post subject:
Reply with quote

Would also suggest you pick either ISPEXEC or CALL ISPLINK , not both.

Garry.
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Tue Nov 25, 2008 4:45 pm    Post subject: Reply to: save members of a pds starting with a certain patt
Reply with quote

And, use the ISPF Edit Models for the required service for the language you've chosen to use.
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 -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Copying Panvalet members to PDS LOGESHWARAN K CA Products 4 Mon Mar 06, 2017 10:45 am
No new posts save SAY var loop. italo_pm CLIST & REXX 3 Sun Sep 04, 2016 3:06 am
No new posts Online Assembler Program Starting point Aditya.Srivastava PL/I & Assembler 4 Fri Jul 08, 2016 6:48 pm
No new posts Single step utility for compare and u... ramprakashn JCL & VSAM 5 Fri Apr 29, 2016 3:43 pm
No new posts starting cicstg EXCI problem meykh2014 CICS 3 Mon Apr 11, 2016 3:36 pm


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