ajscsajobreg (Windows only)
- Organization of this page
Format
ajscsajobreg
-d service-linkage-job-definition-file-name
-n custom-job-name
[-i icon-file-name]
[-f]
Description
This command registers the service linkage job.
Execution privileges
Administrators privileges
Storage directory
JP1/AJS3 - View-installation-folder\bin\
Arguments
-d service-linkage-job-definition-file-name
Specify an absolute or relative path to the service linkage job definition file name.
-n custom-job-name
Specify a custom job name of a service linkage job.
The number of characters that can be specified is 1 to 7 (unit: byte).
Only the following characters can be specified.
-
English letters (Case-insensitive)
-
Numbers
-
- (Hyphen)
-
_ (Underscore)
A specified character string with @ added at the end is treated as the custom job name.
-i icon-file-name
Specify an absolute or relative path to the icon file name.
If this option is omitted, the default icon is used.
-f
A service linkage job of the same name, if any, is forcibly overwritten and registered.
Notes
None.
Return values
|
0 |
Normal end |
|
Value other than 0 |
Abnormal end |
Example 1
Register a service linkage job under the following conditions:
-
Path to a service linkage job definition file: d:\temp\sldef01.json
-
Service linkage job name: awss3UL
-
Path to an icon file: Not specified (The default icon is used)
ajscsajobreg -d d:\temp\sldef01.json -n awss3UL
When a service linkage job has been successfully registered, the following is displayed.
KNBB4501-I The service linkage job has been registered. (awss3UL)
Example 2
Forcibly overwrite and register a service linkage job under the following conditions.
-
Path to a service linkage job definition file: d:\temp\sldef02.json
-
Service linkage job name: azbsDL
-
Path to an icon file: d:\icon\image01.gif
ajscsajobreg -d d:\temp\sldef02.json -n azbsDL -i d:\icon\image01.gif -f
When a service linkage job has been successfully registered, the following is displayed.
KNBB4501-I The service linkage job has been registered. (azbsDL)