The experienced programmer can use exit programs to create customized processing while an application is running.
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.
The following table lists exit points that give you additional control over the REXEC server.
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 |
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. |