Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Change TELNET Attributes (CHGTELNA) command is used to change configurable TELNET attributes. The changes take effect the next time the TELNET server is started either by the Start TCP/IP (STRTCP) command or by the Start TCP/IP Server (STRTCPSVR) command.
Note: The CHGTELNA command parameters are used by the TELNET server only; they are not used by the TELNET client. Many of these same parameters can be set for TELNET clients using the Start TCP/IP TELNET (STRTCPTELN) command or the TELNET client subcommands.
Restrictions:
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
AUTOSTART | Autostart server | *YES, *NO, *SAME | Optional, Positional 1 |
NBRSVR | Number servers | 1-200, *SAME, *CALC | Optional |
TIMMRKTIMO | Session keep alive timeout | 0-2147483647, *SAME, *CALC, *DFT | Optional |
DFTNVTTYPE | Default NVT type | *SAME, *VT100, *NVT | Optional |
CCSID | Coded character set identifier | 1-65533, *SAME, *MULTINAT, *BRITISH, *DUTCH, *FINNISH, *FRENCH, *FRENCHCAN, *GERMAN, *ITALIAN, *NORDAN, *SPANISH, *SWEDISH, *SWISS | Optional |
TBLVTOUT | ASCII fullscreen mapping | Single values: *SAME, *CCSID, *DFT Other values: Element list |
Optional |
Element 1: Outgoing EBCDIC/ASCII table | Qualified object name | ||
Qualifier 1: Outgoing EBCDIC/ASCII table | Name | ||
Qualifier 2: Library | Name, *LIBL, *CURLIB | ||
TBLVTIN | Single values: *SAME, *CCSID, *DFT Other values: Element list |
Optional | |
Element 1: Incoming ASCII/EBCDIC table | Qualified object name | ||
Qualifier 1: Incoming ASCII/EBCDIC table | Name | ||
Qualifier 2: Library | Name, *LIBL, *CURLIB | ||
ALWSSL | Allow Secure Socket Layer | *YES, *NO, *ONLY, *SAME | Optional |
Top |
Specifies whether to automatically start the TELNET server when TCP/IP is started by the STRTCP command or STRTCPSVR SERVER(*AUTOSTART) command. If STRTCPSVR *TELNET is specified and the TELNET servers are already running, no additional jobs are started.
Top |
Specifies the number of servers to start. TELNET has two types of server jobs 1) TELNET Server jobs and 2) Device Manager jobs. This number indicates the number of jobs started for the device manager server. If the TELNET SSL was started successfully, the number also indicates the number of jobs started for the TELNET server job. If TELNET SSL was not started, there will be one TELNET Server job.
Top |
Specifies the number of seconds between connection validation. TCP tests each TELNET connection at the specified time interval. If TCP does not get a response, it ends the connection.
This parameter determines how frequently the session connection is verified. A high value can result in a longer time before a lost connection gets detected. A lower value tests the session more frequently, but if set too low then normal network delays may result in connections being considered lost.
An explanation of keep alive can be found in the help information for command CHGTCPA parameter TCPKEEPALV. Note that TCPKEEPALV is defined in minutes, while TIMMRKTIMO is defined in seconds.
Top |
Specifies the default Network Virtual Terminal (NVT) type to be used when the TELNET server is not able to negotiate one of the supported types.
Top |
Specifies the ASCII coded character set identifier (CCSID) in use on the VTxxx terminal. CCSID is the default used by TELNET for ASCII full-screen mapping. The ASCII CCSID value is used to map between the EBCDIC CCSID of the job and the national replacement character set or the ASCII CCSID value selected with the CCSID parameter. This value is used by VTxxx users when they sign on the OS/400 system.
Outgoing and incoming mapping can optionally be done with mapping tables defined in the TBLVTOUT and TBLVTIN parameters. Normally the TBLVTOUT and TBLVTIN parameters are set to the default of *CCSID or *DFT. Both parameters indicate that the value used in the CCSID parameter is used for mapping. If a mapping table is to be used for outgoing mapping, a table object can be specified in the TBLVTOUT parameter. The table object specified in the TBLVTOUT parameter is used instead of the CCSID value.
Incoming mapping can be changed to use a mapping table by specifying a table object in the TBLVTIN parameter. This mapping table overrides the specified CCSID value and is used for incoming mapping.
The national replacement character set special values allowed for the CCSID parameter are the Digital Equipment Corporation (DEC) standard character sets. A numeric CCSID value can be used optionally to identify the required ASCII-to-EBCDIC and EBCDIC-to-ASCII mapping. If a numeric CCSID value is chosen, it is validated to ensure it is a valid ASCII CCSID value that is available on the current system.
Note: Only ISO 7-bit and ISO 8-bit ASCII CCSID values can be specified.
Top |
Specifies the outgoing mapping table used by the TELNET server to map outgoing data when in an ASCII full-screen session. All outgoing data is mapped from EBCDIC to ASCII.
If a table object is specified for the TBLVTOUT parameter, the table object is used for outgoing mapping. Otherwise, the CCSID parameter is used for outgoing mapping.
Single values
Qualifier 1: Outgoing EBCDIC/ASCII table
Qualifier 2: Library
Top |
Specifies the incoming mapping table used by the TELNET server to map incoming data when in an ASCII full-screen session. All incoming data is mapped from ASCII to EBCDIC.
If a table object is specified for the TBLVTIN parameter, the table object is used for incoming mapping. Otherwise, the CCSID parameter is used for incoming mapping.
Single values
Qualifier 1: Incoming ASCII/EBCDIC table
Qualifier 2: Library
Top |
Specifies whether Secure Socket Layer and non Secure Socket Layer support should be started.
Top |
Example 1: Setting the Session Keep Alive Timeout
CHGTELNA TIMMRKTIMO(600)
This command sets the session keep alive timeout to be 600 seconds. Each TELNET connection will be validated by TCP every 10 minutes. If TCP does not get a response, it ends the connection.
Example 2: Setting the TELNET Autostart Attribute
CHGTELNA AUTOSTART(*NO)
This command sets the autostart attribute such that the TELNET server will not be started when TCP/IP is started by the STRTCP command or STRTCPSVR SERVER(*AUTOSTART) command.
Top |
*ESCAPE Messages
Top |