View previous topic :: View next topic
|
Author |
Message |
ashishwach
New User
Joined: 07 Nov 2008 Posts: 19 Location: India
|
|
|
|
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 |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
LMMLIST is indeed my favorite selection. You can read about it in the fine manual (ISPF Services).
O. |
|
Back to top |
|
|
ashishwach
New User
Joined: 07 Nov 2008 Posts: 19 Location: India
|
|
|
|
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 |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
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 |
|
|
ashishwach
New User
Joined: 07 Nov 2008 Posts: 19 Location: India
|
|
|
|
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 |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
Back to top |
|
|
Garry Carroll
Senior Member
Joined: 08 May 2006 Posts: 1193 Location: Dublin, Ireland
|
|
|
|
Would also suggest you pick either ISPEXEC or CALL ISPLINK , not both.
Garry. |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
And, use the ISPF Edit Models for the required service for the language you've chosen to use. |
|
Back to top |
|
|
|