8.14 ATTACH (Configure device)

8.14.1 Function

The ATTACH command configures a new device and makes it available in the active configuration. The
effect of this command is immediately visible in the device display of the Hercules Windows GUI or the
Hercules “Peripherals” display if the GUI is not used.

8.14.2 Syntax

Descriptive

ATTACH type [argument [argument ...]]

Diagram

Êʬ¬¬ ATTACH ¬¬¬
¬¬¬ ¬¬¬§¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬§¬¬¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ













argument

8.14.3 Parameter

devn

The device number of the device that is to be configured in the current configu-
ration.

type

The device type that is to be configured in the current configuration. For valid de-
vice types see chapter

6 (Device Definition Descriptions).

argument

These are the additional arguments for the device that is to be configured in the
current configuration. The arguments are dependent on the device type. For
additional information on valid arguments see chapter

6 (Device Definition De-
scriptions).

8.14.4 Examples

Example 1:

Attach a printer device to the active configuration.

HHC00013I Herc command: 'attach 000f 1403 d:/mvs/prt/prt2.txt crlf'

HHC02198I Device attached

Figure 29: ATTACH command (configure printer)

Example 2:

Attach a display terminal to the active configuration.

HHC00013I Herc command ‘attach 0700 3270’

HHC02198I Device attached

Figure 30: ATTACH command (configure display terminal)

Previous Page Next Page