Hitachi

JP1 Version 12 JP1/Service Support Configuration and Administration Guide


How to use Command Prompt to execute commands

This section describes how to use Command Prompt to execute some of JP1/Service Support commands.

If you want to use Command Prompt to execute the JP1/Service Support commands, you need to create a batch file beforehand.

Organization of this page

Format

@set IMSSPATH=JP1/SS-path
@set IMSSDRIVE=system-drive-in-JP1/SS-path
@%IMSSDRIVE%
@CD %IMSSPATH%\tools
command-to-be-executed

Description

@set IMSSPATH=JP1/SS-path

Specifies the JP1/SS path.

@set IMSSDRIVE=system-drive-in-JP1/SS-path

Specifies the system drive in the JP1/SS path.

command-to-be-executed

Specifies the JP1/Service Support command to be executed from a batch file. You can execute the following commands from a batch file:

  • jssdbrorg.bat command (reorganizes the Item management database)

  • jssdbbackup.bat command (makes a backup of data in the Item management database)

  • jssdbreclaim.bat command (releases the free space in the Item management database)

Example

The following example shows how to write a batch file for executing the jssdbbackup.bat command when the JP1/SS path is D:\Hitachi\JP1SS (drive D is the system drive).

@set IMSSPATH=D:\Hitachi\JP1SS
@set IMSSDRIVE=D:
@%IMSSDRIVE%
@CD %IMSSPATH%\tools
jssdbbackup -f D:\tmp\DB_Backup.bak -maint

Remarks