Previous Topic: SNMPTRAP KeywordNext Topic: UNIFWD Keyword


UNICMD Keyword

The UNICMD keyword tells the CA NSM Event Manager, which resides on the specified host, to execute the supplied command.

This keyword has the following format:

UNICMD(HOST(HostName) COMMAND(CommandString))
HOST

Specifies the name of the host on which the CA NSM Event Manager resides.

COMMAND

Specifies the command to be executed by the CA NSM Event Manager.

Example:

The following example copies a file from the temporary directory to an application directory on the remote Windows host named UNIHOSTA:

UNICMD(HOST(UNIHOSTA) COMMAND(COPY C:\TEMP\YOURDATA.DAT
                                   C:\YOURAPP\YOURDATA.DAT))