Hitachi

JP1 Version 12 JP1/Base User's Guide


jcocmdconv

Organization of this page

Function

The jcocmdconv command migrates the command execution logs of JP1/Base Version 7 or earlier to the command execution logs (ISAM) used in JP1/Base Version 8 or later. If you do not execute this command, the command execution logs accumulated in Version 7 or earlier cannot be accessed.

After upgrading to JP1/Base Version 8 or later from a previous version, execute this command only once on the manager host where the command execution logs reside. When using JP1/Base in a cluster system, execute the jcocmdconv command on both the physical host and logical host. The jcocmdconv command can be executed at the same time on both the physical host and logical host. However, you cannot execute multiple instances of the jcocmdconv command at the same time on the physical host.

Format

jcocmdconv [-h logical-host-name]

Required execution permission

In Windows: Administrators (If User Account Control (UAC) for Windows is enabled, you must execute the command from the administrator console.)

In UNIX: Superuser

Command directory

In Windows:

installation-folder\bin\

In UNIX:

/opt/jp1base/bin/

Arguments

-h logical-host-name

Specify the logical host if you are using JP1/Base in a cluster system. If you omit this option, the host name set in the environment variable JP1_HOSTNAME is assumed. If the environment variable JP1_HOSTNAME is not set, the physical host name is assumed. There is no need to specify this argument unless you are running a cluster system.

Note

Execute this command after installing the Version 8 or later JP1/Base and JP1/IM - Manager, and before starting JP1/IM - Manager.If you start JP1/IM - Manager before executing this command, a message about an automated action or command execution might be entered in the command execution log in Version 8 or later format. If the command execution log files (ISAM) are updated in this way before you execute the jcocmdconv command, the log accumulated in the previous version cannot be migrated.

Return values

0

Normal end

2

Invalid parameter

3

No logical host

4

Memory error

5

Disk file error

6

A file already exists at the save-to destination.

7

The command was canceled by a signal.

8

Execution permission error

32

An error occurred during access to the common definitions.

41

File access error

42

Another jcocmdconv command is being executed.

255

Other error