This command allows the operator to make one or more hardware units available, i.e. the operating system is permitted to use these units for I/O operations.
Format (VM2000-specific operands)
ATTACH-DEVICE  | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
  | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Description of the operands (VM2000-specific operands)
UNIT = *CHANNEL(...) / *CONTROLLER(...) / *CHANNEL-RANGE(...) / *PUBSET-DEVICES(...)
Specifies the channels or controllers or pubsets that are to be attached. The devices of a pubset can also be controlled as a unit (with analogous syntax *PUBSET-DEVICES(...)) in the VM2000 commands.
SCOPE = (nur für *CHANNEL, *CONTROLLER, *CHANNEL-RANGE)
Specifies how the command is to be executed in VM2000 operating.
SCOPE = *OWN-SYSTEM-ONLY
The command is carried out only in the local system.
SCOPE = *VM2000-GLOBAL 
If entered in the monitor system (SU /390), the command is executed in all guest systems. 
If entered in another guest system or in the monitor system of an SU x86, the command is rejected with message NKR0178.