IBM SC41-5420-04 manual Usage Notes, Length of operation-specific information, Allow operation

Page 101

For operation identifiers 1 through 3, the operation-specific information contains the name of the directory or library on which the operation is to be performed. The directory or library name is formatted as an absolute path name.

For operation identifiers 4 through 8, the operation-specific information contains the name of the file on which the operation is to be performed. The file name is formatted as an absolute path name.

For operation identifier 9, the operation-specific information contains the iSeries Control Language (CL) command which is to be run at the user’s request.

Note: See “Usage Notes” for a summary of the operation-specific information that is required for each operation identifier.

Length of operation-specific information

INPUT; BINARY(4) Indicates the length (in bytes) of the operation-specific information, or 0 if no operation-specific information is provided.

Allow operation

OUTPUT; BINARY(4) Indicates whether the operation should be accepted or rejected. The valid values are as follows:

-1Never allow this operation identifier:

vThis operation identifier is to be unconditionally rejected for the remainder of the current session.

vThe exit program will not be called again for this operation identifier.

0Reject the operation

1Allow the operation

2Always allow this operation identifier.

v This operation identifier is to be allowed unconditionally for the remainder of the current session.

vThe exit program will not be called again with this operation identifier.

Usage Notes

For FTP, if the returned Allow operation output parameter is not valid, the FTP application will not allow the operation and the message “Data from exit program for exit point &1; is missing or not valid” will be issued to the job log.

For FTP, if any exception is encountered when calling the exit program, the FTP application will issue the message: Exception encountered for FTP exit program &1; in library &2; for exit point &3;

Two different exit points are provided for the FTP application. Exit point QIBM_QTMF_CLIENT_REQ is used to validate requests processed by the FTP client program. Exit point QIBM_QTMF_SERVER_REQ is used to validate requests processed by the FTP server program. If desired, the same exit program can be used to validate requests from both of these exit points.

Table 10 on page 88 summarizes the operation-specific information required for each operation identifier.

Appendix B. TCP/IP Application Exit Points and Programs 87

Image 101
Contents TCP/IP Configuration and Reference Page TCP/IP Configuration and Reference Fifth Edition May Contents Index About TCP/IP Configuration and Reference SC41-5420 Vi OS/400 TCP/IP Configuration and Reference V5R1 Operations Navigator Prerequisite and related informationViii OS/400 TCP/IP Configuration and Reference V5R1 Page OS/400 TCP/IP Configuration and Reference V5R1 Summary of changes Xii OS/400 TCP/IP Configuration and Reference V5R1 What you need to know before you can configure TCP/IP Configuring TCP/IPGathering Information About your Network Planning for TCP/IP Installation and ConfigurationLine Description Parameters Checklist TCP/IP Planning ChecklistsInterfaces to Local TCP/IP Networks Local TCP/IP Host Information Checklist25 / Remote System Information Installing the TCP/IP Application ProgramsTcpadm Using the TCP/IP Administration MenuUsing the Configure TCP/IP Menu Cfgtcp Configure TCP/IP MenuConfiguring TCP/IP using the Command Line Interface Configuring TCP/IP using the EZ-Setup WizardServices table Protocol tableConfiguring a TCP/IP Interface Configuring a Line DescriptionImportant Note Internet addressLine description Subnet maskAssociated local interface Automatic startDo you need to add routes at all? Configuring TCP/IP RoutesMaximum Transmission Unit MTU size Route destinationDftroute None Preferred binding interfaceAdding TCP/IP routes NO, *YES Multiple Default RoutesNormal Configuring TCP/IP Remote System Information Configuring TCP/IP attributesIP Datagram Forwarding Adding Remote System InformationLind 15, *LIND, *TRANSMIT PVCNone NONE, *REQUEST, *ACCEPT Adding an Entry to the Host Table Configuring TCP/IP Host Table EntriesWork with TCP/IP Host Table Display DNS BernMacian Localhost SYSNAM890Loopback AnyNet/400 Appc over TCP/IP Configuring the Local Domain and Host NameLocal Domain Name System DNS ServerDspmsg Qsysopr Dspmsg Qtcp Starting TCP/IP and TCP/IP ServersJob Name Description TCP/IP JobsEnd TCP/IP Endtcp Verifying the TCP/IP ConnectionSuccessful Ping Messages Verifying Additional TCP/IP ConnectionsVerify TCP/IP Connection Vfytcpcnn Verify TCP/IP ConnectionVerify TCP/IP Connection Ping Verifying TCP/IP Connections with Host Name-ExampleVERBOSE, *QUIET COMP, *ESCAPEVerifying TCP/IP Connections with Internet Address-Example Saving Your TCP/IP ConfigurationConfiguring TCP/IP 32 OS/400 TCP/IP Configuration and Reference V5R1 Work with TCP/IP Network Status Menu Network StatusWork with TCP/IP Network Status Work with TCP/IP Interface StatusWork with TCP/IP Interface Status Internet Network LineStarting TCP/IP Interfaces Opt Address Mask ServiceInternet Subnet Type MaxthrputEnding TCP/IP Interfaces Route Subnet Next Opt Destination Mask Hop Available Display TCP/IP Route InformationDisplay TCP/IP Route Information Work with TCP/IP Connection Status Route Type Opt Destination ServiceType Source BottomRemote Local Opt Address Port User Bytes Out Work with TCP/IP Connection StatusRemote Local Opt Address Port Idle Time State ALL Ending TCP/IP ConnectionsRemote Local Opt Address Port Type TCPConfirm End of TCP/IP Connections Working with Configuration StatusDisplay Multicast Groups Displaying TCP/IP Network Status InformationOpt Description Status Job Trnline Active Trnlinet Trnlitcp QtcpipHost Group Hardware Address Displaying TCP/IP InterfacesDisplay Multicast Host Groups Display TCP/IP Interface Status Displaying Associated RoutesTrlan MSBRoute Subnet Next Opt Destination Mask Hop Displaying Route Details OptionDisplay Associated Routes Direct Displaying TCP/IP Route InformationDisplay TCP/IP Route Details Display TCP/IP Route Information, Display 1 Display TCP Connection Status Displaying TCP/IP ConnectionsDisplay TCP/IP Connection Status, Display 2 Displaying Connection TotalsDisplay TCP/IP Connection Totals TCP/IP Host TablesHost File Formats Managing TCP/IP Host TablesHost Table Information with *AIX Files Host Table Information with *NIC FilesHost Table Information with *AS400 Files Tips for Merging Host TablesMerging TCP/IP Host Tables Managing the Host Table from a Central Site Merge the File Dead Gateway Processing Negative Advice from TCP or the Data Link LayerMultihoming Function How IP Responds to Negative AdviceMultihoming Single Host, Single Network, Single Line Per physical LAN only Multihoming TCP/IP Network Example The Multihoming functionLoopback None Type of Service TOSX25LINE TOS Example Multiple RoutesTCP/IP Port Restriction Paolo Configuring TCP/IP Port RestrictionsGerry UDP, *TCPOnly Related Tables and the Host Table Configure Related Tables MenuWork with Service Table Entry Display IBM Using X.25 PVC instead of SVCMulticast Restrictions Chglintrn Lindtrnline FCNADRC00000040000 70 OS/400 TCP/IP Configuration and Reference V5R1 TCP/IP Protocol Support Provided by IOP Base Pool SizeTCP/IP Jobs Outbound batching of TCP and UDP datagrams Running TCP/IP Only Performance Considerations Merge Host Table Performance74 OS/400 TCP/IP Configuration and Reference V5R1 Line type Configuration command Source Service Access Point Configuration StepsCreating the Line Description Line Description NameDetermining the Maximum Size of Datagrams Setting the Maximum Transmission Unit78 OS/400 TCP/IP Configuration and Reference V5R1 TCP/IP Exit Points and Exit Programs Appendix B. TCP/IP Application Exit Points and ProgramsTCP/IP Application Exit Points OS/400 Registration FacilityAdding Your Exit Program to the Registration Facility Creating Exit ProgramsQAPP0100 Select your exit pointAdd your exit program Select the Add Exit Program optionYourlib Removing Exit ProgramsTCP/IP Application Request Validation Exit Point Interface Exit Point Interfaces for TCP/IP Application Exit PointsRequired Parameter Group Application identifierUser profile Operation identifierRemote IP address Length of remote IP addressAllow operation Usage NotesLength of operation-specific information QSYS.LIB file system pathnames are always in uppercase Point Command stringLength of command string Character conversion option Command processor identifierQshell interpreter not installed 92 OS/400 TCP/IP Configuration and Reference V5R1 Copyright IBM Corp Trademarks Programming Interface InformationDB2 96 OS/400 TCP/IP Configuration and Reference V5R1 Index Special Characters Interface Qtgtelnets Qtsmtpsrvr Page SC41-5420-04