$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 Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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