Top
Systemwalker Operation Manager  User's Guide
FUJITSU Software

A.5.4 Cautions on Jobs

Jobs executed in the background [UNIX version]

When described to be executed as a job in the background, the job will be terminated without waiting for the background program to be completed.

Recognition of job end [Windows version]

Not only those applications registered with Systemwalker Operation Manager but all the other applications under registered applications are monitored as single jobs. For this reason, a job is recognized as having completed when the applications registered with Systemwalker Operation Manager and all the other applications under those registered applications have terminated.

For example, if Application A, which is registered with Systemwalker Operation Manager, starts a resident application called Application B and then Application A terminates, the job will not be recognized as having completed until Application B has terminated.

Example

Use the following method to avoid the need to wait for applications started from registered applications to finish:

  • Use the application startup command EXECASVR.EXE.

    The EXECASVR.EXE application startup command does not wait for termination of the started application. For the EXECASVR.EXE application startup command, refer to the Systemwalker Operation Manager Reference Guide.

Applications for printing [Windows version]

When a printing application created with PowerCOBOL or VisualBASIC is executed as a job by Systemwalker Operation Manager and when the destination printer is set as the standard printer in the print manager, note the followings. This includes situations where the procedure for selecting a destination printer depends on the specifications of the development language function, instruction, statement or API used in the application print processing.

Using network drives [Windows version]

It is recommended that all resources to be used by applications started from Systemwalker Operation Manager be placed on the local drive. However, refer to the following notes when the use of resources on network drives is unavoidable:

Current directory of jobs [Windows version]

When "Copy the script specified when registering jobs before execution" is checked in the Backward compatibility sheet of the Define Operation Information window, the current directory of the jobs started from Systemwalker Operation Manager is set as follows.

Systemwalker Operation Manager installation directory
\MPWALKER.JM\mpmjessv\mjespool\Queue-name\Job-number

Queue name: queue name at job submission
Job number: number assigned at job submission

To specify a certain path as the current directory, carry out the following operations.

Create the following batch files and start them from Systemwalker Operation Manager. In the batch file, the current directory is changed to c:\temp by the cd command, and then the application is started.

rem Change the current directory.
cd /D c:\temp
rem Start the application.
appl.exe

appl.exe: User application

Starting Systemwalker Operation Manager

If the commands that involve starting Systemwalker Operation Manager are executed, the operations of Systemwalker Operation Manager and Systemwalker Centric Manager cannot be guaranteed. For details, see "A.5.14 Commands that Should Not Be Executed as Jobs."