Job Management Partner 1/Automatic Job Management System 3 Command Reference 2
Format
ajsembdbinstl
-s embedded-database-installation-media-storage-directory
[-mh logical-host-name]
[-i embedded-database-installation-previous-directory]
[-id setup-identifier]
Description
The ajsembdbinstl command installs the JP1/AJS3 standard database (embedded database).
Execution privileges
In Windows: Administrators privileges
In UNIX: Superuser privileges
Storage directory
- In Windows:
- JP1/AJS3-installation-folder\tools\
- In UNIX:
- /opt/jp1ajs2/tools/
Arguments
-s embedded-database-installation-media-storage-directory
Specify the absolute path name of the directory that will store the embedded database installation media.
You must specify the following directory:
- In Windows:
- JP1/AJS3-installation-folder\tools\AJS3DB
- In UNIX:
- JP1/AJS3-installation-directory/tools/AJS3DB
If the absolute path name you specify contains a space or parenthesis, enclose the entire path name in double quotation marks (").
-mh logical-host-name
Specify the name of the logical host on which you want to install the embedded database. You can specify a character string of 1 to 32 bytes.
If you are using the physical host, you do not need to specify this option.
-i embedded-database-installation-previous-directory
Specify the absolute path name of the directory in which you want to install the embedded database. You can specify a character string of 1 to 118 bytes.
Make sure that you specify a path name that begins with a drive name.
The following shows the characters that can be used to specify the absolute path name.
- For Windows
- Alphanumeric characters, space characters, path separators (\), periods (.), underscores (_), left parentheses ((), and right parentheses ())
- For UNIX
- Alphanumeric characters, underscores (_), and slants (/)
If the absolute path name you specify contains a space or parenthesis, enclose the entire path name in double quotation marks (").
If this option is omitted, the following directory is assumed.
- In Windows:
- JP1/AJS3-installation-folder\embdb\_JFn
- In UNIX:
- JP1/AJS3-installation-directory/embdb/_JFn
For n above, the n value in the setup identifier specified for the -id option is used.
For the -id option, make sure that you specify a directory that exists on a local disk.
-id setup-identifier
Specify a four-character setup identifier, _JFn (n: 0 to 9 or A to Z), which identifies the embedded database.
If you omit this option, the system assumes _JF0.
Notes
- If the return value of this command is not 0, the following message is output: Database install failed (error code=yy). In yy, the return value is indicated. If this message is output, take action appropriate for the indicated return value. For details, see 2.8.8(2) Action to be taken if an error occurs during installation of the embedded database in the manual Job Management Partner 1/Automatic Job Management System 3 Troubleshooting.
- If Windows Firewall is used, you must add the embedded database to the Windows Firewall exceptions list.
After execution of the ajsembdbinstl command has been completed, execute the following command:
embedded-database-installation-previous-directory\bin\pdsetfw setup-identifier
Return values
0 Normal end Values other than 0 Abnormal end
Copyright (C) 2009, 2010, Hitachi, Ltd.
Copyright (C) 2009, 2010, Hitachi Solutions, Ltd.