8.50 DETACH (Remove device)

8.50.1 Function

The DETACH command removes a device from the current configuration. The effect of this command is
immediately visible in the device display of the Hercules Windows GUI and the Hercules “Peripherals”
display.

8.50.2 Syntax

Descriptive

Diagram

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

8.50.3 Parameter

device

The device number of the device that is to be removed from the current configura-
tion.

8.50.4 Examples

Example 1:

Detach device 000F from the active configuration.

HHC00013I Herc command: 'detach 000f'

HHC01465I 0:000F device detached

Figure 104: DETACH command

8.51 DEVINIT (Reinitialize device)

8.51.1 Function

The DEVINIT command can be used to reopen an existing device. The arguments (if any) override the
arguments specified in the configuration file for this device. If no arguments (beneath the device number)
are given, then the DEVINIT command will reinitialise the device with the same arguments that were pre-
viously specified. The device type cannot be changed and must not be specified.

This command can be used to rewind a tape, to mount a new tape or disk image file on an existing de-
vice, to load a new card deck into a reader, or to close and reopen a printer or punch device.

8.51.2 Syntax

Descriptive

[argument [argument ...
]]

Diagram

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









argument

8.51.3 Parameter

devnum

The device number of the device to be reinitialized.

argument

Any arguments that are acceptable for the kind of device being reinitalized.

8.51.4 Examples

Example 1:

Initialize a tape device.

HHC00013I Herc command: 'devinit 0480 D:/MVS/TAPE/RPF142.HET compress=1 method=1 level=4'

HHC00221I 0:0480 Tape file 'D:/MVS/TAPE/RPF142.HET', type 'het': format type 'HET file'

HHC00222I 0:0480 Tape file 'D:/MVS/TAPE/RPF142.HET', type 'het': option 'compress' accepted

HHC00222I 0:0480 Tape file 'D:/MVS/TAPE/RPF142.HET', type 'het': option 'method' accepted

HHC00222I 0:0480 Tape file 'D:/MVS/TAPE/RPF142.HET', type 'het': option 'level' accepted

HHC02245I 0:0480 device initialized

Figure 105: DEVINIT command

Previous Page Next Page