Command reference / comm

CHGTELNA

Change Telnet Attributes

Sets configurable Telnet server attributes. The changes take effect the next time the Telnet server starts.

Allowed environments: *ALL. Positional parameters: 1.

Parameters

AUTOSTART Autostart server

Choose 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.

Type
*CHAR
Required
No
Default
*SAME
Length
10
Case
Uppercase

Allowed values: *SAME, *YES, *NO

*SAME
The AUTOSTART value does not change if it was previously set. Otherwise, *YES is used.
*YES
Automatically start the Telnet server.
*NO
Do not automatically start the Telnet server.

NBRSVR Number servers

Sets the number of servers to start. Telnet has two types of server jobs 1) QTVTELNET Server job and 2) QTVDEVICE Device Manager jobs. This number indicates the number of jobs started for device management. Only a single QTVTELNET Server job is started.

Type
*INT4
Required
No
Default
*SAME
Range
1 to 200
Case
Uppercase

Suggested / special values: *SAME, *CALC

*SAME
The number of servers value does not change if it was previously set. Otherwise, *CALC is used.
*CALC
The number of QTVDEVICE Device Manager jobs started will be determined by the system.
1-200
Enter the number of servers to start. For example, if you specify 6, six QTVDEVICE Device Manager jobs will be started. Only a single QTVTELNET Server job will be started.

NBRTASK Number of tasks

Sets the initial number of server tasks to handle Telnet data traffic.

Type
*INT4
Required
No
Default
*SAME
Range
1 to 200
Case
Uppercase

Suggested / special values: *SAME, *CALC

*SAME
The number of servers value does not change if it was previously set. Otherwise, *CALC is used.
*CALC
The number of tasks started will be determined by the system. This value allows the system to dynamically add additional tasks as required by the system workload.
1-200
Enter the initial number of server tasks to start.

TIMMRKTIMO Session keep alive timeout

Sets 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.

Type
*INT4
Required
No
Default
*SAME
Range
1 to 2419200
Case
Uppercase

Suggested / special values: *SAME, *DFT, *CALC

*SAME
The session keep alive value does not change if it was previously set. Otherwise, *CALC is used.
*CALC
The session keep alive is based on the frequency of sampling.
*DFT
The default session keep alive value is set to 600 seconds.
1-2419200
Enter the number of seconds for the session keep alive timeout. Valid values range from 1 through 2419200 seconds (28 days).

ENBWIDE Enable 3270 wide-screen

Sets if the Start TCP/IP Telnet (TELNET) command will enable 3270 wide-screen support by default. This setting takes effect only for 3270 full-screen mode sessions.

Type
*CHAR
Required
No
Default
*SAME
Length
10
Case
Uppercase

Allowed values: *SAME, *YES, *NO

*SAME
The Enable 3270 wide-screen setting is not changed if it was previously set. Otherwise, *YES is used.
*YES
The Telnet 3270 full-screen mode wide-screen is enabled when the current work station device supports a 27x132 screen.
*NO
Telnet 3270 full-screen mode will use a 24x80 display.

NBRFLDS Number of 3270 input fields

Sets the default number of input fields for the Start TCP/IP Telnet (TELNET) command. This parameter takes effect only for 3270 full-screen mode sessions.

Type
*INT4
Required
No
Default
*SAME
Range
126 to 9999
Case
Uppercase

Suggested / special values: *SAME, *DFT, *RPY

*SAME
Keep the current number of Telnet client 3270 input fields.
*DFT
The system default of 126 input fields is used.
*RPY
The number of input fields is defined by the current work station device and the number provided via 3270 Query Reply.
126-9999
Enter the number of 3270 input fields provided.

DFTNVTTYPE Default NVT type

Sets the default Network Virtual Terminal (NVT) type to be used when the Telnet server is not able to negotiate one of the supported types.

Type
*CHAR
Required
No
Default
*SAME
Length
10
Case
Uppercase

Allowed values: *SAME, *VT100, *NVT

*SAME
The default NVT type does not change if it was previously set. Otherwise, *VT100 is used.
*VT100
The Telnet server defaults to VT100 mode when the server and client fail to negotiate one of the supported terminal types. The IBM i server system operates as if the VT100 terminal type were negotiated.
*NVT
The Telnet server defaults to the network virtual terminal (NVT) mode when the server and client fail to negotiate one of the supported terminal types. NVT mode requires an application program written to interact with NVT workstation devices.

CCSID Coded character set identifier

Sets 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.

Type
*INT4
Required
No
Default
*SAME
Range
1 to 65533
Case
Uppercase

Suggested / special values: *SAME, *MULTINAT, *BRITISH, *DUTCH, *FINNISH, *FRENCH, *FRENCHCAN, *GERMAN, *ITALIAN, *NORDAN, *SPANISH, *SWEDISH, *SWISS

*SAME
The default CCSID value does not change if it was previously set. Otherwise, *MULTINAT is used.
*MULTINAT
The DEC multinational character set is in use.
*BRITISH
The DEC British national replacement character set is in use.
*DUTCH
The DEC Dutch national replacement character set is in use.
*FINNISH
The DEC Finnish national replacement character set is in use.
*FRENCH
The DEC French national replacement character set is in use.
*FRENCHCAN
The DEC French Canadian national replacement character set is in use.
*GERMAN
The DEC German national replacement character set is in use.
*ITALIAN
The DEC Italian national replacement character set is in use.
*NORDAN
The DEC Norwegian/Danish national replacement character set is in use.
*SPANISH
The DEC Spanish national replacement character set is in use.
*SWEDISH
The DEC Swedish national replacement character set is in use.
*SWISS
The DEC Swiss national replacement character set is in use.
1-65533
The requested CCSID value is used. This value is validated to ensure a valid ASCII CCSID was requested. Note: Only ISO 7-bit and ISO 8-bit ASCII CCSID values can be specified.

TBLVTOUT Outgoing EBCDIC/ASCII table

Sets 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.

Type
*QUAL
Required
No
Default
*SAME
Case
Uppercase

Suggested / special values: *SAME, *CCSID, *DFT

*SAME
The default TBLVTOUT value does not change if it was previously set. Otherwise, *CCSID is used.
*CCSID
The CCSID parameter is used to determine outgoing mapping.
*DFT
The CCSID parameter is used to determine outgoing mapping.
name (outgoing ebcdic/ascii table)
Enter the name of the outgoing mapping table. This mapping table is used instead of the default mapping specified by the CCSID parameter.
*LIBL
All libraries in the user and system portions of the job's library list are searched until the first match is found.
*CURLIB
Look in the current library, falling back to QGPL.
name (library)
Enter the name of the library to be searched.
Qualified parts (object, then library; write LIBRARY/OBJECT)

Outgoing EBCDIC/ASCII table Outgoing EBCDIC/ASCII table

Type
*NAME
Required
No
Length
10
Case
Uppercase

Library Library

Type
*NAME
Required
No
Default
*LIBL
Length
10
Case
Uppercase

Suggested / special values: *LIBL, *CURLIB

TBLVTIN Incoming ASCII/EBCDIC table

Sets 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.

Type
*QUAL
Required
No
Default
*SAME
Case
Uppercase

Suggested / special values: *SAME, *CCSID, *DFT

*SAME
The default TBLVTIN value does not change if it was previously set. Otherwise, *CCSID is used.
*CCSID
The CCSID parameter is used to determine incoming mapping.
*DFT
The CCSID parameter is used to determine incoming mapping.
name (incoming ascii/ebcdic table)
Enter the name of the incoming mapping table. This mapping table is used instead of the default mapping specified by the CCSID parameter.
*LIBL
All libraries in the user and system portions of the job's library list are searched until the first match is found.
*CURLIB
Look in the current library, falling back to QGPL.
name (library)
Enter the name of the library to be searched.
Qualified parts (object, then library; write LIBRARY/OBJECT)

Incoming ASCII/EBCDIC table Incoming ASCII/EBCDIC table

Type
*NAME
Required
No
Length
10
Case
Uppercase

Library Library

Type
*NAME
Required
No
Default
*LIBL
Length
10
Case
Uppercase

Suggested / special values: *LIBL, *CURLIB

ALWSSL Allow Transport Layer Security

Controls whether Transport Layer Security and non-secure Telnet support should be started.

Type
*CHAR
Required
No
Default
*SAME
Length
10
Case
Uppercase

Allowed values: *SAME, *YES, *NO, *ONLY

*SAME
The Allow Transport Layer Security setting is not changed if it was previously set. Otherwise, *YES is used.
*YES
The Transport Layer Security and non-secure Telnet support will be started.
*NO
The non-secure Telnet support will be started.
*ONLY
The Transport Layer Security support will be started.

Examples

CHGTELNA TIMMRKTIMO(600)

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.

CHGTELNA AUTOSTART(*NO)

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.

IBM command documentation

Generated from os/cl/catalog/CHGTELNA.json and os/cl/help/CHGTELNA.json.