Previous Topic: Return CodeNext Topic: Customizing the Exit


Default Processing

There are two possible implementations for this exit.

The default processing of the exit is coded for applications that execute with a terminal facility, these are blockmode and servers that use SNA and ECI. In this case, the exit checks that the terminal ID and user ID values are present and these values are returned. If only the terminal ID is present, its value is returned as both terminal ID and user ID. If there is no terminal ID value, the CICS Task ID is returned as both terminal ID and user ID.

The exit also contains sample code that can be used for applications that execute without a terminal facility, these are servers that use TCP/IP and MQSeries. For these applications, if the user ID and terminal ID are present the exit returns these values. If only the user ID is present, it is returned and the CICS Task ID is returned for the terminal ID. If only the terminal ID is present, its value is returned for both fields. If neither user ID nor terminal ID is present, the CICS Task ID is returned for both.