R3_SET_STATUS_ATTR

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

Transaction: RZ20
Interface: XMW

Syntax

R3_SET_STATUS_ATTR

    NODE=...
    ,MESSAGE=...
    [,VAR1=...]
    [,VAR2=...] 
    [">,VAR3=...] 
    [,VAR4=...] 
    [,COL_METHOD=...] 
    [,AN_METHOD=...] 
    [,AU_METHOD=...] 
    [,CAUSE_ALERT=...] 
    [,COLOR=...] 

Parameters

  • R3_SET_STATUS_ATTR
    Sets a status 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) Defines the data collection method of the node
    Format: script literal

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

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

  • CAUSE_ALERT=
    (Optional) Determines when an alarm should be triggered
    Format: script literal
    Allowed values:

    • ALWAYS (default)
      Always triggers an alarm
    • VALUE_CHG
      Triggers an alarm when the value has changed
    • MSG_CHG
      Triggers an alarm when the message has changes
    • NEVER
      Never triggers an alarm
  • COLOR=
    (Optional) Color
    Format: script literal
    Allowed values:
    • AL_VAL_GREEN (default)
      Green
    • AL_VAL_YELLOW
      Yellow
    • AL_VAL_RED
      Red

Example

Executing the following example creates the UC4 context node UC4, the Test object node and the status attribute including the message SY 019.

R3_SET_STATUS_ATTR NODE="UC4/Test/StatusAttribute",MESSAGE="SY 019"

See also:

seealso

About SAP JCL