9.4 npdashboardremoveolddata command (delete analysis information)
Description
This command deletes any accumulated analysis information that is more than six months old from the time at which the command is executed. You can use an argument to specify a different period that is to be the basis for deletion.
- Note
-
After it has executed, the command displays a confirmation message (KDCZ50847-Q) asking whether processing is to be continued. To continue, enter Y. To cancel, enter any value other than Y. If processing is canceled, the command terminates with return value 0.
Execute this command as a user with the Windows administrator privileges while the dashboard server is running.
Format 1
npdashboardremoveolddataΔ[-y]
Use this format to delete analysis information that is more than six months old from the time at which the command is executed.
Format 2
npdashboardremoveolddataΔ{period|--all}Δ[-y]
Use this format to delete analysis information that is at least as old as the specified period or to delete all analysis information.
Options
- period|--all
-
-
period
Specifies a period of time (in months) that is to be the basis for deletion, as an integer from 1 to 6.
-
--all
Specifies that all analysis information is to be deleted.
-
- -y
-
Specifies that the confirmation message that asks whether processing is to be continued is to be omitted.
Return value
Return value |
Description |
---|---|
0 |
The command terminated normally. |
1 |
The command terminated abnormally. |
2 |
A lock error occurred on the command. |
9 |
An execution permission error occurred. |
Example
This example deletes analysis information that is more than three months old from the time at which the command is executed.
> Navigation-Platform-installation-directory\bin\npdashboardremoveolddata 3