$REDBAPI SERVICE=CREATE

Syntax

$REDBAPI
SERVICE=CREATE
[TRUNCATE={YES|NO}]
CLASS=cc
RULESET=ruleset-name
[field-name-1=field value-1]
[field-name-2=field value-2]
.
.
.
[field-name-n=field value-n]

Use

Use this call to create an EventView rule set or message rule definition in the knowledge base.

Operands

Important! If possible, do not use the semi-colon (;) in values. By default, a semi-colon is interpreted as a command separator if the API is executed (EXEC) or started (START). If you must use the semi-colon and you are calling the API from an NCL procedure, use the &CALL verb.

Operand

Description

SERVICE=CREATE

Indicates that a definition is to be created in the knowledge base.

TRUNCATE={YES|NO}

Specifies whether a field value should be truncated if it is longer than the field length.

  • YES specifies that long values will be truncated and the definition will be created in the knowledge base.
  • NO specifies that no truncation is allowed. If a long value is encountered, the definition will not be created in the knowledge base.

CLASS=cc

Specifies the two digit identifier of the EventView class to which the definition belongs as follows: 93 for rule sets and 94 for message rules.

RULESET=ruleset-name

Specifies the name of the rule set to be created or the name of the rule set where a message rule is to be created.

field-name-n=field-value-n

Specifies the values of the fields in the definition.

A value must not contain the question mark (?) character.

More information:

Rule Set Fields

Message Rule Fields


Copyright © 2010 CA. All rights reserved.