Top
Systemwalker Operation Manager Troubleshooting Guide
FUJITSU Software

4.10.5 The Message "MpJobsch: ERROR: 0309: Usage: jobschmsgevent event_name[:project_name[/job_net_name] [message_text]] [-h host_name] [-t:INFO | -t:WARN | -t:ERROR]" is Output when the jobschmsgevent Command is Executed from a Schedule Job [UNIX Versions]

Error message

Applicable versions and levels

Action

Points to check

Did you try to generate a message event to an SE version Systemwalker Operation Manager from an EE version Systemwalker Operation Manager?

Action method

Delete the environment variable "JOBSCH_SUB_SYSTEM", and then execute the jobschmsgevent command. An example of the shell script (UNIX)/batch file (Windows) is shown below.

[UNIX]

 [jobschmsgevent.sh ]
#!/bin/csh
unsetenv JOBSCH_SUB_SYSTEM
jobschmsgevent $*
exit $status

The following example shows the command name field for the job to execute the above script:

/<path name>/jobschmsgevent.sh MsgA -h HostName

[Windows]

[jobschmsgevent.bat]
set JOBSCH_SUB_SYSTEM=
jobschmsgevent %*
setecode.exe %ERRORLEVEL%

The following example shows the command field for the job to execute the above batch file:

<drive name>:\<path name>\jobschmsgevent.bat MsgA HostName