Using the following ISPF Edit Macro QUERY to get the name of the Librarian member I currently edit, however no member name displayed.
The below query is set up to pass the dataset and member:
'ISREDIT MACRO' "ISREDIT (datname) = DATASET" "ISREDIT (memname) = MEMBER" SAY "Library:"datname SAY "Member:"memname trace i "ISPEXEC VGET (ELI$DMOD) SHARED" SAY ELI$DMOD
Release: 4.4
ELI$DMOD is the ELIPS variable used in ELIPS Exit processing.
For ELIPS Edit Macros, use the Edit Macro variable ELI$RMOD.
Here is an example ELIPS Edit Macro that returns the DSN of Master file and the name of the member being edited in ELIPS:
000001 /* REXX */
000002
000003 ISREDIT MACRO
000004 ISPEXEC CONTROL ERRORS RETURN
000005
000006 ISPEXEC VGET (ELI$RMF) SHARED
000007 SAY ELI$RMF
000008 ISPEXEC VGET (ELI$RMOD) SHARED
000009 SAY ELI$RMOD
000010
000011
000012 EXIT
See the ELIPS Edit Macro Variables section in Chapter 9: ELIPS User Exits of the Librarian System Services Reference Guide for a list of all the ELIPS Edit Macro variables available.