Top
Systemwalker Operation Manager  Reference Guide
FUJITSU Software

4.16 jobschmsgevent Command

Synopsis

[Windows]

jobschmsgevent message event name [:project name[/job net name]]
[host name|-f: file name] [-t:type] [-p param [-c suffix]]
[-sys {all | subsystem-number}](*1)

[UNIX]

jobschmsgevent message event name [:project name[/job net name]
[message text]] [-h host name] [-t:type] [-p param [-c suffix]]
[-sys {all | subsystem-number}](*1)
*1:

[-sys {all | subsystem-number}] is the option of Systemwalker Operation Manager EE.

Description

The jobschmsgevent command generates a message event.

If a message event is generated by this command, the message event of "nnnn message event has occurred" (message text, where nnnn is a message event name) is output in the event log, along with the source name "MpJobsch" and event ID "2301". A message event is generated to local host if both host name and file name are not specified. [Windows]

The message event generated by this command becomes valid for all job nets of all projects if the project name is omitted.

If both host name and file name are omitted, this command generates a message event on the local host. [Windows]

Options

message event name

Specify the name of message event that you want to generate within 12 bytes.

project name

Specify this option when you want to generate the message event only for the job nets in a particular project.

job net name

Specify this option when you want to generate the message event only for a particular job net.

message text [UNIX]

Specify any text string.

host name [Windows]
-h host name [UNIX]

Specifies the host name of the server where message events are generated. Specify it within 64 bytes using alphanumeric characters. If omitted, the message event is generated on a local host.

-f: file name [Windows]

Specifies the file name containing a list of host names of servers where message events are generated

-t: type [Windows]

Specifies the type of the message event to be generated, when is output to the event log.

If omitted, the default is "-t:INFO".

Specify one of the following:

INFO

"Information" is output.

WARN

"Warning" is output.

ERROR

"Error" is output.

-p param

Specify the variable parameter to be passed to each job in the job net started by the message event. If this option is specified, the "@.VPARAM@" variables in the job definitions will be replaced with the specified variable parameter when the job net starts as a result of receiving the message event.

Specify the variable parameter using a string that is no more than 200 bytes long. The variable parameter should not include user-defined characters.

The variable parameter can be omitted. In this case, the "@.VPARAM@" variables in the job definitions will be replaced with an empty string before the jobs start.

Only job nets that wait for a single message event and job nets that wait for only one of several message events can receive the variable parameter specified by this option.

The variable parameter is also passed to job nets in the second and lower levels of nested job nets (child job nets).

This option can only be specified once.

-c suffix

Use a string of up to 30 bytes long to specify the suffix that is attached to the names of job nets that are copied and started. If this option is specified, the target job nets that are started with a variable parameter specified will be copied to a job net whose name has the specified suffix appended, and the copied job net will be started. For nested job nets, job nets at the second and lower levels are also copied.

Alphanumeric characters and hyphens (-) can be used, but only alphanumeric characters can be used for the first character. Be sure to specify this option together with (but after) the "-p" option.

The job net names and job net comments of copy destination job nets become "copy source job net name (or comment) + underscore (_) + string specified by the suffix option".

Copying takes place when the job net starts (or, for nested job nets, when the parent job net starts). Copy destination job nets are overwritten the next time a job net with the same name is copied.

Note that this option is invalid for job nets in groups.

Enterprise Edition-sys {all|subsystem-number}

In the system with multiple subsystems, this option is used to specify a subsystem as operating target. If omitted, the default is subsystem 0.

However, if the job is executed as a Jobscheduler job in a subsystem environment, the number of this subsystem will be assumed.

all

All subsystems are targeted for operation.

subsystem-number

Specify the operation target subsystem number using a range of 0 to 9.

Command Location

Windows

Systemwalker Operation Manager installation directory\MpWalker.JM\bin

Solaris
HP-UX
AIX
Linux

/usr/bin

Cautions