5.14 CNSLPORT (Console port)

5.14.1 Function

The CNSLPORT parameter specifies the port number (in decimal), on which the telnet server will listen.
The statement may also have the form host:port, where the telnet console server will bind to the specified
address.

5.14.2 Syntax

Descriptive

port

Diagram

¬¬¬¬¬§¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ






¬¬¬¬¬
port ¬¬¬¬¬«




5.14.3 Parameter

host

The IP address of the host to which the telnet server will bind to. If an IP address is
given then it must be a valid IP address for the host system.

port

The port number (decimal) on which the telnet server will listen. The port number
must not be in use by any other server. The port number must be in the range of 0
to 65535. Ports below 1024 cannot be used unless Hercules is running as root or is
otherwise authorized to use low ports.

5.14.4 Examples

Example 1:

Set the port number on which the telnet server will listen to 3270.

CNSLPORT 3270

Example 2:

Specify 192.168.1.10 as the IP address of the host to which the telnet server will bind to and set the port
number on which the telnet server will listen to 3270.

CNSLPORT 192.168.1.10:3270

5.15 CODEPAGE (Codepage conversion table)

5.15.1 Function

This parameter specifies the codepage conversion table used for the ASCII / EBCDIC translation. If no
codepage is given the environment variable HERCULES_CP will be inspected. The default codepage
used is “DEFAULT”.

5.15.2 Syntax

Descriptive

codepage cmd [operands]

Diagram

¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬§¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ






¬¬ codepage ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬«







cmd ¬¬§¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬«







operands

5.15.3 Parameter

DEFAULT

“DEFAULT” specifies the traditional Hercules codepage.

codepage

Specifies the codepage conversion table used for ASCII / EBCDIC translation.
Supported codepage mappings are shown in the table below. Iconv single byte
codepages may also be used (e.g. “UTF8/EBCDIC-CP-NL”).

USER

This specifies that the user specific codepage conversion tables (see CPUPDT
system parameter and console command) have to be activated.

MAINT

MAINT and its arguments is the same as the CP_UPDT system parameter. Please
see CP_UPDT for details.

Supported codepage mappings:

Mapping

ASCII

EBCDIC

437/037

437 PC United States

037 United States/Canada

437/500

437 PC United States

500 Latin 1

437/1047

437 PC United States

1047 Open Systems Latin 1

819/037

819 ISO-8859-1 Latin 1

037 United States/Canada

Previous Page Next Page