Hitachi

Job Management Partner 1 Version 10 Job Management Partner 1/Automatic Job Management System 3 Command Reference 2


ajssetup

Organization of this page

Format

ajssetup
     [-F service-name]
     [-t|[-m]]
     [-mh logical-host-name]

Description

If the database is in the standard configuration:

The ajssetup command sets up the suspend function.

If the database is in the compatible ISAM configuration:

The ajssetup command does the following:

  1. Sets up the ISAM database used by a scheduler service.

  2. Set up the suspend function.

Execution privileges

In Windows: Administrators privileges

In UNIX: Superuser privileges

Arguments

-F service-name

Specify the service name of the scheduler service to be processed.

You can specify a name of 1 to 30 characters (bytes).

If you omit this option, the system assumes the default scheduler service name.

-t

Specify this option to set up the ISAM database to be used by the scheduler service in a compatible ISAM configuration.

-m

Enables the suspend function.

Specify this option when you change the definition during the registration of a jobnet for execution. Immediately after installation, the suspend function is disabled.

When the suspend function is set up, the database used by the scheduler service is not set up. For this reason, set up the database used by the scheduler service before setting up the suspend function.

-mh logical-host-name

You can specify a logical host name instead of environment variable JP1_HOSTNAME. Specifying this option causes the host name specified in this option to precede that specified in environment variable JP1_HOSTNAME.

Specifying JP1_DEFAULT in this option also enables you to specify a physical host explicitly. Specifying the machine name of a physical host does not make it possible to set up a the physical host.

Notes

Return values

0

Normal end

Multiple of 4 from 4 to 124

Abnormal end

Example

The following ajssetup command creates the table that is used by the scheduler service (service1).

ajssetup -F service1