Previous Topic: AOF Processing

Next Topic: Rules for Changing Message Severity

Change Message Severity

You may decide to change the message severity and suffix for the following reasons:

Each message description contains an indicator (Modifiable: YES/NO) that tells you whether the severity of the message is eligible to be changed.

For more information, see the Command and Function Reference.

To change the severity level using the OPSPARM command processor

  1. Issue SAY statements in AOF rules.
  2. Change the suffix of messages issued as a result of SAY statements in AOF rules as follows:
    ParmRC = OPSPRM("SET","OPS1000","J")
    

The severity level is changed and you can now automate the resulting messages.

To change the severity level using the OPSPRM OPS/REXX function

  1. Change message suffixes in the startup REXX EXEC OPSxPAnn by customizing the following sample code.
     /*********************************************************************
      *                                                                   *
      *   Change message severity levels                                  *
      *                                                                   *
      *********************************************************************/
     T = OPSPRM_Set("OPS1000","J")    /* Allow SAY output to be automated*/
     T = OPSPRM_Set("OPS0049","T")    /* Avoid flooding consoles         */
     T = OPSPRM_Set("OPS3900","T")    /* Reduce initialization time      */
     T = OPSPRM_Set("OPS4320","T")    /* Reduce initialization time      */
    
  2. Include it in the supplied startup REXX EXEC.

The severity level is changed and automated.