R3_SET_PERF_ATTR

The R3_SET_PERF_ATTR script element sets a performance attribute in the SAP monitor architecture. This script element changes an existing performance attribute. If this attribute does not yet exist, the script element creates it with a corresponding value.

Transaction: RZ20
Interface: XMW

Syntax

R3_SET_PERF_ATTR

    NODE=...
    ,VALUE=...
    [,UNIT=...]
    [,COL_METHOD=...] 
    [,AN_METHOD=...] 
    [,AU_METHOD=...] 
    [,ALERT_DIR=...] 
    [,G2Y=...] 
    [,Y2R=...] 
    [,Y2G=...] 
    [,R2Y=...] 

Parameters

  • R3_SET_PERF_ATTR
    Sets a performance 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
  • VALUE=
    Value to be set
    Format: number

  • UNIT=
    (Optional) Unit of the value (short form)
    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

  • ALERT_DIR=
    (Optional) This value determines that an alarm is generated if the value is above or below the limit.
    Allowed values:

    • ABOVE (default)
      Alarm for a value that is above the limit
    • BELOW
      Alarm for a value that is below the limit
  • G2Y=
    (Optional) Limit for a color change from green to yellow
    Format: number
    Default: 0

  • Y2R=
    (Optional) Limit for a color change from yellow to red
    Format: number
    Default: 0

  • Y2G=
    (Optional) Limit for a color change from yellow to green
    Format: number
    Default: 0

  • R2Y=
    (Optional) Limit for a color change from red to yellow
    Format: number
    Default: 0

Example

Executing the following example creates the UC4 context node, the Test object node, and the performance attribute including the value 150. The color green is assigned because the limit specified in G2Y has not been exceeded.

R3_SET_PERF_ATTR NODE="UC4/Test/PerfAttribute",VALUE="150",UNIT="sec",G2Y="160",Y2R="200",Y2G="160",R2Y="190"

See also:

seealso

About SAP JCL