Contains user-specified device status information.
FeedbackOpens in a new tab
$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.