The CREATEENTITY command creates a new entity.
This command has the following format:
ADDRESS VOX "CREATEENTITY NAME(name) [AVAIL(YES|NO)] [BROADCAST(YES|NO)] [ESCTO(key|name)] [KEY(key)] [NMGROUP(YES|NO)] [PASSWORD(password)] [UNAVAILDESC(desc)]"
The name of the entity to be created. Names can only contain uppercase and lowercase letters, numbers, blanks, and the following special characters: - _ @ # . $ % / : ; \
(Optional) This operand defines if the entity is available to be contacted. Values are:
Notification Manager will attempt to contact this entity
No attempt will be made to contact this entity.
Until the AVAIL is set to YES, Notification Manager will not attempt to contact this entity
Note: This is not a valid operand for Groups.
Default: YES
(Optional) Values are:
Perform all methods that are active at the current time
Terminate processing for this entity as soon as one method succeeds.
Default: NO
(Optional) If this entity cannot be found, escalates to the entity whose key or name is specified. If 0 is specified, escalation does not take place.
(Optional) Specifies the numeric ID to be associated with this entity. The ID must be between 100001001 and 199999999.
(Optional) This operand determines whether the entity being created will be designated as an individual or a group. If this is set to YES, the entity created will be a group.
Default: NO
(Optional) Specifies the password for this entity. Passwords are between four and eight numeric digits.
(Optional) This operand is used to define the description of why an entity is unavailable.
Note: This is not a valid operand for Groups.
Return Information:
After the CREATEENTITY command executes, it sets the special REXX return code variable RC.
Example:
The following example creates an entry in the database for Joe:
ADDRESS VOX "CreateEntity NAME(Joe) BROADCAST(no) PASSWORD(1111) ESCTO(Frank)"
|
Copyright © 2011 CA.
All rights reserved.
|
|