Example 2:
Set the current command separator to ';'.
HHC00013I Herc command: 'cmdsep ;'
HHC02204I Value 'cmdsep' set to ';'
Figure 63: CMDSEP command (set new command line separator)
Example 2:
Set the current command separator to ';'.
HHC00013I Herc command: 'cmdsep ;'
HHC02204I Value 'cmdsep' set to ';'
Figure 63: CMDSEP command (set new command line separator)
The CMDTGT command specifies the target environment for all following commands entered on the
command line of the Hercules hardware console.
Descriptive
Diagram
¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ
HERC
The command target is the Hercules Emulator. This is also the default, when no
CMDTGT target has been given.
SCP
The target for the commands is the system control program (i.e. the guest opera-
ting system running under Hercules).
PSCP
All entered commands are system control program (i.e. guest operating system)
priority commands.
?
Display the current target environment for commands.
Example 1:
Display the current target environment for commands.
HHC00013I Herc command: 'cmdtgt ?'
HHC02288I Commands are sent to 'herc'
Figure 64: CMDTGT command (display current setting)
Powered by Tizra® |
Example 2:
Set the current command separator to ';'.
HHC00013I Herc command: 'cmdsep ;'
HHC02204I Value 'cmdsep' set to ';'
Figure 63: CMDSEP command (set new command line separator)
The CMDTGT command specifies the target environment for all following commands entered on the
command line of the Hercules hardware console.
Descriptive
Diagram
¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ
HERC
The command target is the Hercules Emulator. This is also the default, when no
CMDTGT target has been given.
SCP
The target for the commands is the system control program (i.e. the guest opera-
ting system running under Hercules).
PSCP
All entered commands are system control program (i.e. guest operating system)
priority commands.
?
Display the current target environment for commands.
Example 1:
Display the current target environment for commands.
HHC00013I Herc command: 'cmdtgt ?'
HHC02288I Commands are sent to 'herc'
Figure 64: CMDTGT command (display current setting)
Example 2:
Set the system control program as the target for commands.
HHC00013I Herc command: 'cmdtgt scp'
HHC02288I Commands are sent to 'scp'
Figure 65: CMDTGT command (set target to SCP)
Example 3:
Set the command target from SCP or PSCP back to Hercules (see also HERC command).
HHC00013I Herc command: 'herc cmdtgt herc'
HHC02288I Commands are sent to 'herc'
Figure 66: CMDTGT command (set target back to Hercules)
The CNSLPORT command displays or sets the port number (in decimal), on which the telnet server will
listen. The parameter of the command may also have the form host:port, where the telnet console server
will bind to the specified address.
Descriptive
[port ]
Diagram
Êʬ¬¬ C ¬¬¬§¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬§¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ
port ¬¬¬¬¬¬«
¬¬¬ host ¬¬¬
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.
Example 1:
Display the current telnet client port.
HHC00013I Herc command: 'cnslport'
HHC17001I Console server listening for host 192.168.1.10 on port 3270
Figure 67: CNSLPORT command (display current telnet client port)
Powered by Tizra® |
Example 2:
Set the system control program as the target for commands.
HHC00013I Herc command: 'cmdtgt scp'
HHC02288I Commands are sent to 'scp'
Figure 65: CMDTGT command (set target to SCP)
Example 3:
Set the command target from SCP or PSCP back to Hercules (see also HERC command).
HHC00013I Herc command: 'herc cmdtgt herc'
HHC02288I Commands are sent to 'herc'
Figure 66: CMDTGT command (set target back to Hercules)
The CNSLPORT command displays or sets the port number (in decimal), on which the telnet server will
listen. The parameter of the command may also have the form host:port, where the telnet console server
will bind to the specified address.
Descriptive
[port ]
Diagram
Êʬ¬¬ C ¬¬¬§¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬§¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ
port ¬¬¬¬¬¬«
¬¬¬ host ¬¬¬
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.
Example 1:
Display the current telnet client port.
HHC00013I Herc command: 'cnslport'
HHC17001I Console server listening for host 192.168.1.10 on port 3270
Figure 67: CNSLPORT command (display current telnet client port)
CMDLVL is an alias for CMDLEVEL. The CMDLVL command displays or sets the current command
group(s). See CMDLEVEL for details.
See CMDLEVEL command.
See CMDLEVEL command.
See CMDLEVEL command.
The CMDSEP command displays or sets the command line separator. The command line separator cha-
racter is used to separate multiple panel commands on a single line. The default is OFF which means that
there is no command line separator defined and therefore multiple panel commands on a single line are
not supported.
Descriptive
char
Diagram
Êʬ¬¬ ¬¬¬§¬¬¬ char ¬¬¬§¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ
OFF
char
Specifies a single character that is used for command separation. This character
must not be the period ('.'), the exclamation mark ('!') or the hyphen ('-'). Although
the command line separation character can be set to the number (hash) sign ('#'),
this is not recommended because this could affect processing command lines that
contain comments.
OFF
OFF disables command separation. This is the default.
Example 1:
Set the current command separator to ';'.
HHC00013I Herc command: 'cmdsep'
HHC02203I Value 'cmdsep': 'Not set'
Figure 62: CMDSEP command (display the current command line separator)
Powered by Tizra® |
CMDLVL is an alias for CMDLEVEL. The CMDLVL command displays or sets the current command
group(s). See CMDLEVEL for details.
See CMDLEVEL command.
See CMDLEVEL command.
See CMDLEVEL command.
The CMDSEP command displays or sets the command line separator. The command line separator cha-
racter is used to separate multiple panel commands on a single line. The default is OFF which means that
there is no command line separator defined and therefore multiple panel commands on a single line are
not supported.
Descriptive
char
Diagram
Êʬ¬¬ ¬¬¬§¬¬¬ char ¬¬¬§¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ
OFF
char
Specifies a single character that is used for command separation. This character
must not be the period ('.'), the exclamation mark ('!') or the hyphen ('-'). Although
the command line separation character can be set to the number (hash) sign ('#'),
this is not recommended because this could affect processing command lines that
contain comments.
OFF
OFF disables command separation. This is the default.
Example 1:
Set the current command separator to ';'.
HHC00013I Herc command: 'cmdsep'
HHC02203I Value 'cmdsep': 'Not set'
Figure 62: CMDSEP command (display the current command line separator)