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:
0 FTP client program
1 FTP server program
2 REXEC server program
3 TFTP 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:
0 Session initialization
1 Directory/library creation
2 Directory/library deletion
3 Set current directory
4 List files
5 File deletion
6 Sending file
7 Receiving file
8 Renaming file
9 Execute CL command
When the application identifier indicates the REXEC server program, valid
values are as follows:
0 Session initialization
9 Perform CL command
When the application identifier indicated the TFTP server program, the valid
values are as follows:
6 Sending file (RRQ)
7 Receiving file (WRQ)
548 OS/400 TCP/IP Configuration and Reference V4R4