Difference between revisions of "$STATUS"

From VSI OpenVMS Wiki
Jump to: navigation, search
(Created page with "'''$STATUS''' is a global symbol automatically defined by OpenVMS that contains the condition code of the most recently executed command. Applications programs can...")
 
(No difference)

Latest revision as of 15:56, 29 November 2019

$STATUS is a global symbol automatically defined by OpenVMS that contains the condition code of the most recently executed command. Applications programs can set the value of the global symbol $STATUS by including a parameter value to the EXIT command. The system uses the value of $STATUS to determine which message, if any, to display and whether to continue execution at the next higher command level. The value of the lowest three bits in $STATUS is placed in the global symbol $SEVERITY.