R3_SET_LOG_ATTR

The R3_SET_LOG_ATTR script element sets a log attribute in the SAP monitor architecture. Use R3_SET_LOG_ATTR to change an existing log attribute. If it does not yet exist, this script element creates one including a corresponding message.

Transaction: RZ20
Interface: XMW

Syntax

R3_SET_LOG_ATTR

    NODE=...
    ,MESSAGE=...
    [,VAR1=...]
    [,VAR2=...] 
    [,VAR3=...] 
    [,VAR4=...] 
    [,COL_METHOD=...] 
    [,AN_METHOD=...] 
    [,AU_METHOD=...] 
    [,VIEW=...] 
    [,VIEW_FRAME=...] 
    [,COLOR=...] 
    [,SEVERITY=...] 
    [,MAX_ALERTS=...] 

Parameters

  • R3_SET_LOG_ATTR
    Sets a log attribute in the SAP monitor architecture

  • NODE=
    Name of the node.
    Format:
     script literal
    This parameter describes a complete path. The individual parts are separated by a slash (/). The path always starts with a context node that can be followed by a sum node, an object node and an attribute node.
    Note: Context, object and attribute nodes must only be used once in the path. Sum nodes can be used several times.

    Example 1

    UC4/TestNode/PerfAttributUC4

    • UC4
      Context name
    • TestNode
      Object node
    • PerfAttributUC4
      Attribute node

    Example 2

    UC4/Summary1/Summary2/TestNode/PerfAttributUC4

    • UC4
      Context name
    • Summary1
      Sum node
    • Summary2
      Sum node
    • TestNode
      Object node
    • PerfAttributUC4
      Attribute node
  • MESSAGE=
    ID and number of the SAP T100 message, separated by a blank
    Format: script literal
    Note: Use "00 398" to have only variable contents displayed

  • VAR1=
    (Optional) Message variable 1
    Format: script literal

  • VAR2=
    (Optional) Message variable 2
    Format: script literal

  • VAR3=
    (Optional) Message variable 3
    Format: script literal

  • VAR4=
    (Optional) Message variable 4
    Format: script literal

  • COL_METHOD=
    (Optional) Data collection method of the node
    Format: script literal

  • AN_METHOD=
    (Optional) Analysis method of the node
    Format: script literal

  • AU_METHOD=
    (Optional) Auto-reaction method of the node
    Format: script literal

  • VIEW=
    (Optional) Determines the log attribute message to be displayed in the current alarm monitor status view
    Format: script literal
    Allowed values:

    • HIGHALERT (default)
      Highest
    • LAST
      Latest
    • WORST_SINCE
      Most severe since
  • VIEW_FRAME=
    (Optional) Duration in minutes for displaying the most severe alarm
    Format: script literal
    Default: 0
    Note: Value 0 specified here has the effect that the default value 30 is used in the monitor architecture.

  • COLOR=
    (Optional) Color
    Format: script literal
    Allowed values:
    • AL_VAL_GREEN (default)
      Green
    • AL_VAL_YELLOW
      Yellow
    • AL_VAL_RED
      Red
  • SEVERITY=
    (Optional) Degree of severity
    Format: script literal
    Default: 0
    Note: Value 0 specified here has the effect that the default value 255 is used in the monitor architecture.

  • MAX_ALERTS=
    (Optional) Maximum number of alarms to be stored in the node
    Format: script literal
    Default: 0
    Note: This limit is only applicable if the alarms are stored in the monitor architecture.

Examples

Executing the following example creates the UC4 context node, the Test object node, and a log attribute including the message 00 398.

R3_SET_LOG_ATTR NODE="UC4/Test/LogAttribute",MESSAGE="00 398",VAR1="variable1",VAR2="variable2",VAR3="variable3",VAR4="variable4",SEVERITY="12"

See also:

seealso

About SAP JCL