z/OS ISPF Planning and Customizing
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Exit 6: TSO command end exit

z/OS ISPF Planning and Customizing
GC19-3623-00

You can use this user exit to monitor TSO commands invoked from within ISPF. This exit is called after the attached command completes (or if attach fails).

Note: This user exit will not be invoked for TSO commands issued from REXX execs.

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 made to these parameters.
cmdname
An 8-character field that contains the name of the command to be attached. The name is left-justified within the field.
CLIST name
An 8-character field that contains the name of the CLIST if the command was a CLIST. In that case, cmdname is 'EXEC'. If the command is not a CLIST, this field is the same as cmdname.
user flags
1 or more bytes of installation data as defined when ISPTCM is generated. See Customizing the ISPF TSO command table (ISPTCM) for more information.
TCM flags
The flag byte in ISPTCM that ISPF uses to determine what processing should be done for the command. If the current command is not in ISPTCM, the default flag byte is provided.
CPPL
The address of the TSO command processor parameter list (CPPL) that was passed to ISPF.

When the command is an implicit CLIST (prefixed by %), the TCM is not searched. In those cases, the user flags and TCM flags parameters will be binary zeros.

Return codes

No return codes are acknowledged at this user exit. When this exit returns to ISPF, normal processing continues.

Note: For multiple exit routines, return codes still affect the processing flow.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014