TPUHELP.HLB  —  SET(MESSAGE_ACTION_LEVEL)
  SET(MESSAGE_ACTION_LEVEL)

  Sets the severity level at which DECTPU emphasizes completion messages in
  the manner you specify.

  Syntax

  SET (MESSAGE_ACTION_LEVEL, {integer | keyword})

  Parameters

     integer    A value between 0 and 3 specifying the severity level at
                which DECTPU is to take the action you designate.  The
                default value is 2.  The severity levels and corresponding
                values, in ascending order of severity, are as follows:

                           Value         Severity Level
                           -----         --------------

                             1             Success
                             3             Informational
                             0             Warning
                             2             Error

                DECTPU performs the action you specify on all completion
                messages at the severity level you designate and on all
                messages of greater severity.

     keyword    The keyword associated with a DECTPU completion message.
                DECTPU uses the keyword to determine the severity level of
                the associated completion message and performs the action
                you specify on all completion messages of that severity
                level or greater.

  Examples

     1.  The following statements directs DECTPU to display informational,
         warning, and error messages in reverse video for 1/2 second, then
         in ordinary video.

         SET (MESSAGE_ACTION_TYPE, REVERSE);
         SET (MESSAGE_ACTION_LEVEL, 3);

     2.  The following statements direct DECTPU to ring the terminal's bell
         whenever a completion status occurs with a severity equal to or
         greater than the severity of TPU$_SUCCESS.

         SET (MESSAGE_ACTION_TYPE, BELL);
         SET (MESSAGE_ACTION_LEVEL, TPU$_SUCCESS);

  Related Topic

     SET(MESSAGE_ACTION_LEVEL)
Close Help