jssdelrec (deletes data from the Item management database)
- Organization of this page
Description
This command deletes data in the Waiting to be deleted status from the Item management database.
Format
jssdelrec -a [-b]
Required execution permission
Administrator permissions
Storage folder
IM-SS-path\bin\
Arguments
-a
Deletes all the systems, process work boards, and Items that are waiting to be deleted from the Item management database. If a process work board is waiting to be deleted, all the Items and attached files related to the process work board are also deleted.
The -a option is mandatory.
-b
If you specify the -b option, you can execute the jssdelrec command without stopping the JP1/Service Support service and the JP1/Service Support - Web Service service. If you do not specify the -b option, you need to inactivate those services in advance.
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 jssdelrec command is being executed, do not execute other JP1/IM - Service Support commands.
-
When you execute the jssdelrec command, all the data waiting to be deleted is deleted from the Item management database. If you want to store the update history or Item information of the Items to be deleted, before executing the jssdelrec command, execute the jssitemhistory or jssitemexportEx command.
Remarks
-
If you use Ctrl+C to cancel the jssdelrec command while the command is being executed, the data waiting to be deleted might not be deleted. For this reason, do not cancel the command during execution by using Ctrl+C. If you happen to do so, wait for a while and then re-execute the command.
-
After you execute the jssdelrec command to delete a process work board, execute the jsscollectdata command with the -a option to delete the statistics regarding the Items registered in the deleted process work board.
-
For details about how to execute the command, see 10.2.3 Deleting data from the Item management database.