You can use this user exit to mark
the end of a program, command, or menu invoked through any of the
SELECT services, with or without the SELECT service start exit.
Changes
you make to the screen name are not reflected in the SCRNAME value
passed in this exit.
Exit parameters
In addition to the standard
exit parameters described in
Exit parameter list,
the exit routines at this user exit receive these parameters. ISPF
ignores any changes the exit routines make to the parameters.
- Flags
- 4 bytes of bit flags defined as follows:
- 0
- 1 = PGM keyword specified
- 1
- 1 = CMD keyword specified
- 2
- 1 = PANEL keyword specified
- 3-4
- Reserved
- 5
- 1 = ADDPOP keyword specified
- 6
- 1 = BARRIER keyword specified
- 7
- 1 = NEST keyword specified
- 8
- 1 = new application being invoked
- 9
- 1 = new shared pool is to be created
- 10
- 1 = PASSLIB keyword specified
- 11
- 1 = Lang (CREX) keyword specified
- 12
- 1 = APL keyword specified
- 13
- 1 = MODE(FSCR) specified
- 14
- 1 = MODE(LINE) specified
- 15-16
- Reserved
- 17
- 1 = SUSPEND specified
- 18
- 1 = LOGO keyword specified
- 19-31
- Reserved.
Note: If no parameters were
passed, the flag bytes will be zero.
- elemname
- An 8-character field that contains the name of the element (PGM,
CMD, or PANEL) to be selected. In case of CMD, if the element is a
CLIST prefixed with %, the % symbol is removed from the elemname.
- APPLID
- A 4-character field that contains the application ID of the element
that just terminated.
- STATS
- Two contiguous fullwords containing:
Total "think time" in
hundredths of a second for this SELECT level only. "Think time" means
all of the time intervals between the time when ISPF unlocked the
keyboard for input and the time when input was received by ISPF. If
there are other SELECTs nested within this one, their statistics are
given at the corresponding select end exits, but not included here.
The
number of times the screen was read by ISPF in this SELECT level.
- logoname
- An 8-character field that contains the name of the LOGO panel
if it was specified.
- Screen name
- Screen name as set by the SCRNAME command and shown by the SCRNAME
ON function.
Return codes
No return codes are acknowledged
at this user exit. ISPF termination continues upon return from the
exit routine.
Note: For multiple exit routines, return codes still
affect the processing flow.