Top
Systemwalker Operation Manager  Reference Guide
FUJITSU Software

4.8 stemSchDelete Command

Synopsis

stemSchDelete <project name> [-mod mode] [-sys <subsystem number>] (*1)

*1:

" [-sys <subsystem number>] " is the option of Systemwalker Operation Manager EE.

Description

The stemSchDelete command deletes a specified project.

The specified project is deleted regardless of whether it contains job net information. However, it is not deleted when there is a job net in the state specified by the -mod option.

Options

project name

Specify the name of the project to be deleted with 50 bytes or less.

Specify the project name that is registered in the Jobscheduler.

If the Master Schedule Management function is used, specify the following:

-mod mode

Specify the delete mode with 0 or 1. This mode determines the job net status to check.

0:

The project is not deleted if a job net or group that is currently being executed exists in the project.

1:

The project is not deleted if an incomplete job net or group is existent in the project. "Incomplete" denotes the following status.

  • A job net or group is in Executing, Warning or Paused state.

  • Start date is set but the processing has not taken place yet. (Not completed)

  • In Abended or Canceled state. (Confirm operation is enabled but the operation is actually not executed.)

The default is 0.

Enterprise Edition-sys <subsystem number>

In the system with multiple subsystems, this option is used to specify a subsystem as an operating target. Specify the number of the subsystem that contains the project that you want to delete, in the range of 0 to 9. If this option is omitted, subsystem 0 is used.

Return Values

Code

Meaning

Action

0

Completed

-

1

Usage display

Confirm how to specify the option.

2

The user has no privileges for executing this command.

System administrator (user belonging to the Administrator group or superuser) privileges are required.

3

A system error occurred.

Check the system environment.

4

Execution unavailable because of the differences in the code systems.

The code system used for Systemwalker Operation Manager is not identical with that for the command execution environment. Use the same code system as that for Systemwalker Operation Manager.

5

DB access failed.

Failed on opening, or reading from or writing to DB.

Confirm the following:
- Use event log/SYSLOG to check an MpJobsch error.
- Use the anti-virus software or backup software to confirm whether another process accesses the database.

6

The Jobscheduler service/daemon is not running, or it is during startup processing.

Activate the service/daemon. If the service/daemon is already activated, it is during startup processing or it is not running properly. Wait a few moments, or reactivate it.

7

The specified project is not found.

Confirm whether the specified project name is correct.

8

The project cannot be deleted because a group or job net is currently executing.

After the currently executing group or job net terminates, execute the command again.

11

This command has failed in reading ACL manager library.

Confirm whether the following file exists. If the file is found, it may be damaged. Re-install the file.

[Windows]: <Systemwalker installation directory>\mpwalker\bin\f3crsapi.dll
[Solaris/AIX/Linux]: /opt/systemwalker/lib/libmpfwsecjm.so
[HP-UX]: /opt/systemwalker/lib/libmpfwsecjm.sl

12

The project cannot be deleted because a carried over job net exists.

After addressing the problem by, for example, disabling the carried over job net, execute the command again.

13

The project cannot be deleted because a group or job net is currently operating or being stored.

After the currently operating or stored group or job net terminates, execute the command again.

14

Timeout

Confirm the load of Systemwalker Operation Manager, then execute the command again.

15

Unable to delete because a shutdown job net (JSHEND or JSHFORCE) has executed.

Restart the Jobscheduler, then execute the command gain.

Command Location

Windows

<Systemwalker Operation Manager installation directory>\mpwalker.jm\bin

Solaris
HP-UX
AIX
Linux

/opt/FJSVstem/bin

Privilege Required

System administrator (user belonging to the Administrators group or superuser) privileges are required.

Execution Results/Output Format

Completed: None

Abended: Error contents are output to the standard output.