ajssetup
- Organization of this page
Format
ajssetup [-F service-name] [-t|[-m]] [-mh logical-host-name]
Description
The ajssetup command sets 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.
-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
-
If you specify the -m option to enable the suspend function, you do not have to stop the JP1/AJS3 service and the scheduler service. The setting is immediately enabled. However, you can operate from JP1/AJS3 - View only after you log in after the suspend function is enabled.
-
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.
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