Previous Topic: UNIWTO CommandNext Topic: ADDRESS TNG Utility Command


UNIWTOR Command

The UNIWTOR command sends the supplied message to the CA NSM Event Manager component on the specified host and receives a reply.

If the RC for the command is 0, the variable TNG.UNIWTOR.1 contains the reply. In addition, the variable TNG.UNIWTOR is set to the same value as TNG.UNIWTOR.1.

This command has the following format:

ADDRESS TNG "UNIWTOR HOST(HostName) MESSAGE(MessageString)
             [ORIGHOST(OriginatingHostName)]
             [PREFIX (newvarname)
             [SEVERITY(E|F|I|S|W)]"
HOST

Specifies the TCP/IP host name (Hostname) to which the event is to be sent.

MESSAGE

Specifies the message (MessageString) to be sent to CA NSM.

ORIGHOST

(Optional) Specifies the name of the host (OriginatingHostName) on which the event originated.

Default: The host name of the CA Automation Point machine.

PREFIX

(Optional) Directs return information to a stem variable name (newvarname) other than the default. For more information, see ADDRESS TNG Return Information in this chapter.

Note: The PREFIX operand is only valid if REXX is the destination of the return information.

Default: TNG.VER

SEVERITY

(Optional) Specifies the CA NSM severity value. Values are:

E - Error

F - Fatal

I - Information

S - Success

W - Warning

Default: I