$STATUS

From VSI OpenVMS Wiki
Revision as of 15:56, 29 November 2019 by Jane.doe (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

$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.