USER_COMMAND - UEMLoad configuration option

Description

The USER_COMAND option specifies a system command that is stored in an event handler record with a handler type of CMD. It identifies the handler process, which is executed by UEM Server on behalf of the stored event handler.

Usage

Specification Method

Parameter / Value

IBM i

HP NonStop

UNIX

Windows

z/OS

Command Line, Short Form

n/a

Command Line, Long Form

-cmd command

(tick)

(tick)

Definition File Keyword

cmd command

(tick)

(tick)

Value

command is the system command stored in an event handler record. If command contains spaces, it must be enclosed in double ( " ) quotation marks.


UNIX

If command contains spaces, it must be enclosed in either single ( ' ) or double ( " ) quotation marks.
 
If quotes are to be saved as part of command:

For example, specifying -cmd '/usr/someapp "quoted string"' will save everything between the single quotes, including the spaces and double quotes, in the event handler record.

Windows

If quotes are to be saved as part of command, the required syntax depends on whether the parameter is specified from the command line or from a definition file.
 
From the command line, use a backslash ( \ ) to escape the quotes that need to be preserved (for example, -cmd "c:\someapp.exe \"quoted string\").
 
From a definition file, use an extra double quote to escape the quotes (for example, cmd "c:\someapp.exe ""quoted string""").
 
In both cases, the parameter "quoted string" will be passed to c:\someapp.exe and treated as a single command line argument.