docs.intersystems.com
Home  /  Application Development: Core Topics  /  ObjectScript Reference  /  ObjectScript Special Variables  /  $DEVICE


ObjectScript Reference
$DEVICE
[Next] 
InterSystems: The power behind what matters   
Search:  


Contains user-specified device status information.
Synopsis
$DEVICE
$D  
Description
$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:
standard_error,user_error,explanatory_text
By default, $DEVICE contains the null string.
See Also