Top
Systemwalker Operation Manager  Reference Guide
FUJITSU Software

9.1.1 EXECASVR.EXE Application Startup Command

Synopsis

EXECASVR.EXE [/UN:UserName] [/LG:LoginGroup]
              [/RC:nn /RI:nnnn] /AE:ExecuteAppli
              AppliParam

Description

The EXECASVR.EXE command activates any application installed on a server. The activated application runs in the background and is not displayed on-screen.

This command will end without waiting for the application to complete.

Parameters

/UN:UserName

Specifies the right to be used to start an application by specifying the user name.

And the user name specified to UserName must be set in the password management book in advance. If UserName contains a space character, enclose it in double quotation marks.

To specify UserName, use either one of the following formats: "domain name\user name" or "server name\user name". The domain name or server name must be no longer than 15 alphanumeric characters, and the user name must be no longer than 20 alphanumeric characters.

If this parameter is omitted, the application is started with the system rights.

/LG:LoginGroup

Specifies a login definition name used to manage the password management book.

Specify LoginGroup within 256 characters, and enclose it in double quotation marks if a space character is contained.

If the /UN parameter is specified, be sure to specify this parameter.

/RC:nn

Specifies the retry count in case an error occurs in application startup.

Specify an integer value between 0 and 99 for nn. Setting any other value results in an error. If omitted, no retry is performed.

/RI:nnnn

Specifies the retry interval in case an error occurs.

Specify an integer value between 0 and 9999 (in seconds) for nnnn. Setting any other value results in an error. The default value is 0.

This parameter is valid when 1 or a greater value is specified to nn in the /RC parameter.

/AE:ExecuteAppli

Specifies an application that you want to activate using a local drive path. Specify the application name in ExecuteAppli. If the application name contains a space character, enclose it in double quotation marks. The total number of characters in ExecuteAppli including AppliParam must be no longer than 511 characters.

AppliParam

Specifies parameters for the application specified in ExecuteAppli. If more than one parameter is specified, put a space character between parameters. If a space is contained in any parameter, enclose it in double quotation marks.

Return Values

Return value

Meaning

0

Completed

Value other than 0

Abended

Command Location

Systemwalker Operation Manager installation directory\MpWalker.JM\bin

Example

In the following example, the application "c:\Program files\app\App.exe" is started using the user rights of "foo\User1". The user's password used in server logon is obtained from the login definition name "grp1" in the password management book.

EXECASVR.EXE /UN:foo\Usr1 /LG:grp1 /AE:"c:\Program files\app\App.exe"

Execution Results/Output Format

After the command has been through processing, the information at command completion is output to the standard output.

The contents to be output are shown below.

[Process start time] MM-DD-YYYY HH:MM:SS
[Application] Name of the application activated
[Retry count] Number of retries performed
[Error] Error message
[Process end time] MM-DD-YYYY HH:MM:SS

In [Error], "None" is output if the command completed successfully. A message is output if the command is canceled or failed. For details on the messages, see the Systemwalker Operation Manager Message Guide.

If an error occurs before starting the application, a message is output in the following format:

[Process start time] MM-DD-YYYY HH:MM:SS
[Command error] Error message
[Process end time] MM-DD-YYYY HH:MM:SS

For details on the messages, see the Systemwalker Operation Manager Message Guide.

Cautions