Dectivates a pheripheral device | |||||
---|---|---|---|---|---|
Syntax |
DEACTIVATE device_name |
||||
Description |
Deletes device_name from the Active Device Table (ADT) and thus makes it unknown to RIO. A Close I/O request is generated for units linked to the deactivated device and a Deactivate I/O request is generated for the device itself. If the ADT size entry is non-null (> 0), the space allocated to the device handler is deallocated. Deactivation is inhibited for the last active device, since there would be no source for further external commands and therefore no method to activate other device files. Likewise, the master device cannot be deactivated. | ||||
I/O-Units |
|
||||
Examples |
%DEACTIVATE $MYDOS Removes MYDOS from Active Device Table and generates Close request for all units linked to MYDOS. A Deactivate request is sent to MYDOS and the space allocated to it deallocated (if ADT size entry > 0). |
||||
Notes | See ACTIVATE command. |