The Question is:
I need to get/generate a list of all VMS backup error messages and their
severity. Where do I find the messages or how do I generate them?
The Answer is :
The proposed approach -- without additional background -- appears to
be an approach that the OpenVMS Wizard would not recommend utilizing.
The OpenVMS Wizard would use the severity values within the messages
themselves, based on the documented OpenVMS condition value format --
the list of conditions will not be static, and will require maintenance
as BACKUP adds messages. (BACKUP can also potentially return errors
from other facilities, as well.)
For details on the condition value format, please see the Programming
Concepts manual. From a DCL procedure, please see the $SEVERITY symbol.
If you must handle specific errors within a BACKUP procedure, capture
those specific errors you know you must process and use a generic
$SEVERITY-based (or a mechanism similar to this available to programs,
based on the contents of register R0) to field all other errors.