CLEAR-DEVICE

From NDWiki
Jump to navigation Jump to search
@CLEAR-DEVICE <logical device number>

Execute a clear device operation (IOX instruction). This command can be used to stop the line-printer if an attempt is made to print non-alphanumeric information, or it can be used to stop a search for a nonexistent EOF mark on a magnetic tape and prevent the tape from winding off.

<logical device number>
(octal) logical number of a peripheral device.

Rules:

  1. Permitted only for user SYSTEM.
  2. @CLEAR-DEVICE on a magnetic tape operates on the magnetic tape controller, if several magnetic tape stations are connected to the same controller, they are all cleared through one @CLEAR-DEVICE command.

Example:

@CLEAR-DEVICE 22

Clear the Versatec printer on DMA.

Related commands

@EXECUTE-IOX

@IOSET (command)

References

Norsk Data Document ND–60.128.01 SINTRAN III REFERENCE MANUAL (printed June 1980), page 1-37

Norsk Data Document ND–60.174.Q01 SINTRAN III QUICK REFERENCE CARD