jssdbinit.bat (initializes databases)
- Organization of this page
Description
This command initializes the database of JP1/Service Support. When JP1/ Service Support uses the Item storage database, this command initializes the Item management database and deletes the Item storage database. Therefore, the Item storage database must be set up again if you want to reuse it.
To run this command, go to the Start menu and click Programs, JP1_Service Support, and JP1_SS Command Prompt. Then execute the command. The arguments you can specify depend on the JP1/Service Support product being used.
Format
jssdbinit.bat -s {S | M | L | LL | XL} [-t] [-q]
Required execution permission
Administrator permissions
Storage folder
JP1/SS-path\tools\
Arguments
-s {S | M | L | LL | XL}
Specifies the size of the Item management database.
The following table describes the size for each value.
Specified value |
Size |
---|---|
S |
5 gigabytes |
M |
30 gigabytes |
L |
71 gigabytes |
LL |
152 gigabytes |
XL |
162 gigabytes |
For details about the criteria for determining the size of the Item management database, see the Release Notes.
-t
Registers emails as Items. When you specify the -t option, the master system and the temporary receipt process work board, which are required to register emails as Items, are created. If you do not specify the -t option, the master system and the temporary receipt process work board are not created.
If you want to create the master system and the temporary receipt process work board after you execute the jssdbinit.bat command, use the jsscreatesysandpwb command (creates the master system and the temporary receipt process work board). For details about the jsscreatesysandpwb command, see jsscreatesysandpwb (creates the master system and the temporary receipt process work board) in Chapter 12. Commands.
-q
Initializes the database without displaying a confirmation message.
If you do not specify the -q option, the system displays a message to ask whether to permit initialization of the database.
Return values
Return value |
Meaning |
---|---|
0 |
Normal end |
1 |
Abnormal end |
Prerequisites for executing the command
-
For details about which services need to be active or inactive when this command is executed, see Status of services when commands are executed in Chapter 12. Commands.
-
While the jssdbinit.bat command is being executed, do not execute other JP1/Service Support commands.
Remarks
-
When you execute the jssdbinit.bat command, multiple child processes start within the system. Even if you cancel the jssdbinit.bat command by using Ctrl+C, the child processes continue running. For this reason, do not cancel the jssdbinit.bat command during execution by using Ctrl+C. If you happen to do so, wait for a while and re-execute the command.
-
When the jssdbinit.bat command is executed, the required memory size depends on the size of the Item management database. For details about the required memory size, see the release notes.
Example
The following example shows how to initialize the Item management database as size M.
jssdbinit.bat -s M