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:
-
Sets up the ISAM database used by a scheduler service.
-
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
-
You must complete the following before attempting to execute this command:
In Windows, stop the JP1/AJS3 service.
In UNIX, stop the JP1/AJS3 service and then execute the ajsshmdel command.
-
You cannot execute more than one ajssetup command at any one time. To specify several ajssetup commands, set up the specification such that they are executed one by one.
-
If an error occurs as a result of executing the ajssetup command with the -t option specified, first correct the cause of the error and then delete all the tables that have been created. Then, re-execute the command to create the tables.
Likewise, to recreate a table after creating tables with the -t option, also delete all these tables. Then, re-execute the command to create tables.
-
If you recreate a scheduler service database in a system that is performing operation with a queueless job (including the case where JP1/AJS3 is uninstalled and then reinstalled), reset the queueless job execution environment.
-
When using a queueless job after recreating a scheduler service database
ajsqlsetup -F scheduler-service-name
-
When not using a queueless job after recreating a scheduler service database
ajsqlsetup -r -F scheduler-service-name
-
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