VMS Help  —  SET  MESSAGE
    Sets the format for system messages or specifies a process
    level message file. Lets you override or supplement the system
    messages.

    Format

      SET MESSAGE  [filespec]

1  –  Parameter

 filespec

    Specifies the name of the process level message file. Messages
    in this file supersede messages for the same conditions in the
    system message file or in an existing process message file. The
    file type defaults to .EXE. The asterisk (*)  and the percent
    sign (%)  wildcard characters are not allowed. If you do not
    specify this parameter, the qualifiers apply to the system
    message file.

2  –  Qualifiers

2.1    /DELETE

    Removes any process-permanent message files currently in effect.
    Do not specify the filespec parameter with the /DELETE qualifier.

2.2    /FACILITY

       /FACILITY (default)
       /NOFACILITY

    Formats messages so that the facility name prefix appears.

2.3    /IDENTIFICATION

       /IDENTIFICATION (default)
       /NOIDENTIFICATION

    Formats messages so that the message identification prefix
    appears.

2.4    /SEVERITY

       /SEVERITY (default)
       /NOSEVERITY

    Formats messages so that the severity level appears.

2.5    /TEXT

       /TEXT (default)
       /NOTEXT

    Formats messages so that the message text appears.

3  –  Examples

    1.$ TYPE XXX
      %TYPE-W-OPENIN, error opening DB1:[MARSHALL]XXX.LIS; as input
      -RMS-E-FNF, file not found
         .
         .
         .
      $  SET MESSAGE/NOIDENTIFICATION
         .
         .
         .
      $ TYPE XXX
      %TYPE-W, error opening DB1:[MARSHALL]XXX.LIS; as input
      -RMS-E, file not found

      When the first TYPE command is entered in this example, the
      error messages include all fields. Later, the SET MESSAGE
      command establishes that the IDENT portion (the abbreviation
      for the message text) is omitted in future messages.

    2.$ SET MESSAGE NEWMSG

      The SET MESSAGE command in this example specifies that the
      message text in NEWMSG.EXE supplements the existing system
      messages.
Close Help