Skip to main content


Contains user-specified device status information.




$DEVICE can be used to record device status information. You can use the SET command to place a value in $DEVICE. By convention, this value should describe the outcome of an I/O operation as a 3-piece string, in the form:


By default, $DEVICE contains the null string.

See Also

FeedbackOpens in a new tab