8.32 CMDTGT (Specify the command target)

8.32.1 Function

The CMDTGT command specifies the target environment for all following commands entered on the
command line of the Hercules hardware console.

8.32.2 Syntax

Descriptive

Diagram

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







8.32.3 Parameter

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.

8.32.4 Examples

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)

Previous Page Next Page