VARY ABENDTRAP command

The VARY ABENDTRAP command provides abend dumps that are based on a return code being set in a given module.

Format

Read syntax diagramSkip visual syntax diagram
>>-Vary --TCPIP--,tnproc--+---------+--,ABENDTRAP--,modname----->
                          '-,Telnet-'                         

>--+---------------------+-------------------------------------><
   '-rcode--+----------+-'   
            '-instance-'     

Parameters

tnproc
The member name of the cataloged procedure used to start the Telnet address space.
Telnet
Legacy parameter that directs the command to the Telnet component when Telnet could run in the TCP/IP stack.
ABENDTRAP
The Abend Trap keyword.
modname
The exact module name, a partial name with an asterisk (*) at the far right, or just an *. The * is a wildcard.
rcode
The exact return code reported on an earlier EZZ6035I message. If rcode is not specified, any rcode in the module listed is considered a match. The rcode value is the left portion of the RCODE field on the EZZ6035I message. For example, if RCODE: 3011-02 is presented, the rcode value is 3011 and the instance value is 02.
instance
The exact instance reported on an earlier EZZ6035I message. To specify instance, rcode must also be specified. If instance is not specified, any instance is considered a match. The instance value is the right portion of the RCODE field on the EZZ6035I message. For example, if RCODE: 3011-02 is presented, the instance value is 02 and the rcode value is 3011.

Usage

Module name, return code, or instance will be syntax checked. If an incorrect module name is used, the Abend Trap must be turned off and reset with the correct name. The same process is used if an incorrect return code or instance is used.

After the Abend Trap is set, it stays in effect until the trap is sprung or until it is turned off by issuing V TCPIP,TN3270,TELNET,ABENDTRAP,OFF. To change the trap, the current trap must first be turned off.

Authorization is through the user's RACF® profile containing the MVS™.VARY.TCPIP.TELNET.ABENDTRAP definition for ABENDTRAP. The definition can contain a wildcard at the TELNET or TCPIP level (for example MVS.VARY.TCPIP.**).