jssitemstoredbrotate (rotates Item storage databases)
- Organization of this page
Description
This command rotates active storage areas of the Item storage database. You can use the jssdbstatchk.bat (checks the database status) command to check the status of the storage areas. For details see jssdbstatchk.bat (checks the database status) in Chapter 11. Commands. This command can be executed when JP1/IM - Service Support Advanced Edition is used.
Format
jssitemstoredbrotate -rotate [-q]
Required execution permission
Administrator permissions
Storage folder
IM-SS-path\bin\
Arguments
-rotate
Rotates active storage areas of the Item storage database. Storage areas of the Item storage database are rotated according to the following rules:
-
The two storage areas are rotated from storage area A to storage area B.
-
Storage area B is switched to storage area A.
-
One storage area is not switched to the other storage area that has not been set up.
-q
Continues rotating the storage areas of the Item storage database without displaying a confirmation message. If you do not specify the -q option, the system displays a message to ask whether to continue rotating the storage areas.
Return values
Return value |
Meaning |
---|---|
0 |
Normal end |
1 |
Abnormal end |
Prerequisites for executing the command
-
The jssitemstoredbrotate command can be executed when JP1/IM - Service Support Advanced Edition is used.
-
For details about the status of services when commands are executed, see Status of services when commands are executed in Chapter 11. Commands.
-
Before you execute the jssitemstoredbrotate command, set up the Item storage database. For details about how to set up the Item storage database, see 10.2.10 Setting up the Item storage database.
-
Two or more jssitemstoredbrotate commands cannot be executed at the same time.
Remarks
-
If you cancel the jssitemstoredbrotate command by using Ctrl+C while the command is being executed, processing of the command might fail. For this reason, do not use Ctrl+C to cancel the command during execution.
-
You can output the result of executing the jssitemstoredbrotate command to a log file and check the result. For details, see User log definition file (jp1itemstoredbrotate.conf) in Chapter 12. Definition Files.