jssdbinit.bat (initializes databases)
- Organization of this page
Description
This command initializes the database of JP1/IM - Service Support. When JP1/IM - Service Support Advanced Edition is used, not only is the Item management database initialized, but also the Item storage database is deleted. 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_Integrated Management - Service Support, and JP1_IM-SS Command Prompt. Then execute the command. The arguments you can specify depend on the JP1/IM - Service Support product being used.
Format
- For JP1/IM - Service Support (Standard):
jssdbinit.bat -s {S | M | L | LL} [-t] [-q]
- For JP1/IM - Service Support Advanced Edition:
jssdbinit.bat -s {S | M | L | LL | XL} [-t] [-q]
Required execution permission
Administrator permissions
Storage folder
IM-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 11. 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 11. Commands.
-
While the jssdbinit.bat command is being executed, do not execute other JP1/IM - 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 JP1/IM - Service Support Advanced Edition is not used, executing the jssdbinit.bat command with XL specified for the -s option causes an error.
-
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