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