Automation Engine Script Guide > AE JCL for Applications > SAP > R3_SET_LOG_ATTR

R3_SET_LOG_ATTR

Sets a log attribute in the SAP monitor architecture

Transaction: RZ20

Interface: XMW

Syntax

R3_SET_LOG_ATTR

Syntax

Description/Format

NODE=

Name of the node

Format of the value: script literal

MESSAGE=

ID and number of the SAP T100 message (separated by a blank)

Format of the value: script literal

Use "00 398" to have only variable contents displayed

VAR1=

Message variable 1

Format of the value: script literal

VAR2=

Message variable 2

Format of the value: script literal

VAR3=

Message variable 3

Format of the value: script literal

VAR4=

Message variable 4

Format of the value: script literal

COL_METHOD=

Data collection method of the node

Format of the value: script literal

AN_METHOD=

Analysis method of the node

Format of the value: script literal

AU_METHOD=

Auto-reaction method of the node

Format of the value: script literal

VIEW=

Determines the log attribute message to be displayed in the current alarm monitor status view.

Format of the value: script literal

Allowed values: "HIGHALERT", "LAST" (default) and "WORST_SINCE"

"HIGHALERT" - highest
"LAST" - latest
"WORST_SINCE" - most severe since

VIEW_FRAME=

Duration in minutes for displaying the most severe alarm

Format of the value: number

Default value: "0"

Value "0" has the effect that the default value "30" is used in the monitor architecture.

COLOR=

Color

Format of the value: script literal

Allowed values: "AL_VAL_GREEN" (default), "AL_VAL_YELLOW" and "AL_VAL_RED"

"AL_VAL_GREEN" - green
"AL_VAL_YELLOW" - yellow
"AL_VAL_RED" - red

SEVERITY=

Degree of severity

Format of the value: number

Default value: "0"

Value "0" has the effect that the default value "255" is used in the monitor architecture

MAX_ALERTS=

Maximum number of alarms to be stored in the node

Format of the value: number

Default value: "0"

This limit is only applicable if the alarms are stored in the monitor architecture.

Comments

An existing log attribute is changed. If it does not yet exist, the script element creates one including the corresponding message.

Format of the parameter NODE=

This parameter describes a complete path. The individual parts are separated by a slash "/".

The path always starts with a context node which can be followed by a sum node, an object node and an attribute node.

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"

Example 2:

"UC4/Summary1/Summary2/TestNode/PerfAttributUC4"

Example

Executing the following example creates the context node "UC4", the object node "Test" 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: