Example 2:

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

HHC00013I Herc command: 'cnslport 3270'

Figure 68: CNSLPORT command (set telnet client port)

Example 3:

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.

HHC00013I Herc command: 'cnslport 192.168.1.10:3270'

Figure 69: CNSLPORT command (set telnet client port bound to specific address)

8.34 CODEPAGE (Display or set codepage conversion table)

8.34.1 Function

The CODEPAGE command displays or sets the codepage conversion table. If an operand is given then
the codepage is set to the specified page, if the page is valid. If no operand is specified, the current code-
page is displayed.

With the QCODEPAGES panel command a list of all valid codepage mappings can be displayed.

8.34.2 Syntax

Descriptive

codepage cmd [operands]]

Diagram

¬¬¬¬ ¬¬¬¬¬¬¬¬¬ÊÍ





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







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







¬¬¬ operands ¬¬

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

Previous Page Next Page