Exit points for controlling REXEC server

This topic includes information about exit points that can be used for controlling REXEC server.

With the use of exit programs, the experienced programmer can create customized processing during an application. If the REXEC server finds a program registered to one of the exit points for the server, it calls that program using parameters that are defined by the exit point.

An exit point is a specific point in the REXEC program where control can pass to an exit program. An exit program is a program to which the exit point passes control.

For each exit point, there is an associated programming interface, called an exit point interface. The exit point uses this interface to pass information between the REXEC application and the exit program. Each exit point has a unique name. Each exit point interface has an exit point format name that defines how information is passed between the REXEC application and the customer-written exit program.

Different exit points can share the same exit point interface. When this is the case, multiple exit points can call a single exit program.

Exit point performance

The following table lists exit points that give you additional control over the REXEC server.

Start of change
Table 1. TCP/IP exit points
TCP/IP exit points Brief description Exit points formats used
QIBM_QTMX_SERVER_REQ The TCP/IP request validation exit point provides additional control for restricting an operation. VLRQ0100
QIBM_QTMX_SVR_LOGON1 The TCP/IP server logon exit point provides additional control over authenticating a user and setting up the user's environment for the REXEC server. TCPL0100

TCPL0300
QIBM_QTMX_SVR_SELECT The REXEC server command processing selection exit point allows you to specify which command processor the REXEC server uses for interpreting and running your commands. RXCS0100
End of change

1An exit point might have more than one format, but an exit program can only be registered for one of the exit point formats. Examine each of these formats, and then choose the one most appropriate for your system.

Notes:
  • The same interface format is used for request validation for the FTP client, FTP server, REXEC server, and TFTP server. This allows the use of one exit program for request validation of any combination of these applications.
  • The same interface format is used for server log-on processing for the FTP server and REXEC server applications. This allows the use of one exit program to process log-on requests for both of these applications.
Related information
Use server exit programs
VLRQ0100
TCPL0100
TCPL0300