View previous topic :: View next topic
|
Author |
Message |
jzhardy
Active User
Joined: 31 Oct 2006 Posts: 139 Location: brisbane
|
|
|
|
Is there a way I can extract the name of the 'current library' in the memberlist panel of DSLIST within REXX.
If i'm in an ISPF edit session, I can use commands like:
ADDRESS ISREDIT
"(MEMB) = MEMBER"
"(DSN) = DATASET"
But i need to be able to do this outside of the edit session.
I've tried using ISPF table ISRPLIST but no luck. Variable DSAPET01 is meant to show the most recently accessed library, but i'm getting inconsistent results.
My motivation for doing this is to address a limitation in SRCHFOR that does not allow for :
- multi-line regex expressions;
- logical AND joins between search terms
I've looked for other tools on our site but we don't have anything that will help.
Also - and this could be a shorter path to what I want - does anyone know if SRCHFOR supports user exits ? |
|
Back to top |
|
|
Willy Jensen
Active Member
Joined: 01 Sep 2015 Posts: 730 Location: Denmark
|
|
|
|
I am not aware of any variable containing the name, but the zscreeni variable contains the screen image. Parse that for the datasetname. |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2593 Location: Silicon Valley
|
|
|
|
Quote: |
does anyone know if SRCHFOR supports user exits |
I looked in 'ISPF Planning and customizing', which documents user exits. Section 'ISPF installation-wide exits' does not list anything for SRCHFOR. |
|
Back to top |
|
|
|