The TCP/IP request validation exit point enables additional control for restricting an
operation. Any restrictions that are imposed by the exit program are in addition to
any validation that is performed by the application program, such as normal AS/400
object security. When an exit program is added to the exit point, it is called by the
TCP/IP application to validate the requested action specified by the operation
identifier and other input parameters in the required parameter group. The exit
program sets the output parameter,Allow operation, to indicate if the TCP/IP
application is to perform the operation.
Note: All character data passed to the exit program is in the coded character set
ID (CCSID) of the job, or if the job CCSID is 65535, the default CCSID of the
job.
Required Parameter Group
Application identifier
INPUT;BINARY(4) Identifies the application program from which the request is
being made. The valid values are as follows:
0FTP client program
1FTP server program
2REXEC server program
3TFTP server program
Operation identifier
INPUT;BINARY(4) Indicates the operation that the user is attempting to
perform. When the application identifier indicates the FTP client or FTP server
program, the valid values are as follows:
0Session initialization
1Directory/library creation
2Directory/library deletion
3Set current directory
4List files
5File deletion
6Sending file
7Receiving file
8Renaming file
9Execute CL command
When the application identifier indicates the REXEC server program, valid
values are as follows:
0Session initialization
9Perform CL command
When the application identifier indicated the TFTP server program, the valid
values are as follows:
6Sending file (RRQ)
7Receiving file (WRQ)
548 OS/400 TCP/IPConfiguration and Reference V4R4