Hitachi

JP1 Version 12 JP1/Automatic Job Management System 3 Command Reference


ajscnvdbexport

Organization of this page

Format

ajscnvdbexport
     [-mh logical-host-name]
     -F scheduler-service-name
     -b database-backup-file-storage-directory

Description

The ajscnvdbexport command exports the data of the specified scheduler service from the scheduler database of JP1/AJS2 whose version is 8 or earlier to a file in binary format.

You can execute this command only when you can access the database for the scheduler service in JP1/AJS2 whose version is 8 or earlier.

Execution privileges

In Windows: Administrators privileges

In UNIX: Superuser privileges

Storage directory

In Windows:

JP1/AJS3 - Manager-installation-folder\tools\

In UNIX:

/opt/jp1ajs2/tools/

Arguments

-mh logical-host-name

Specify the name of a logical host. You can specify a character string of 1 to 255 bytes.

If environment variable JP1_HOSTNAME is set when this option is omitted, the system assumes the logical host name specified in the environment variable. If the JP1_HOSTNAME environment variable is not specified, JP1_DEFAULT is assumed.

-F scheduler-service-name

Specify the name of the target scheduler service. You can specify a character string of 1 to 30 bytes.

-b database-backup-file-storage-directory

Specify the absolute path name of the directory that will store database backup files. You can specify a character string of 1 to 244 bytes.

Do not specify a non-existent directory.

When this command is executed, a backup file named table-ID.bk is created for each table in the following directory:

database-backup-file-storage-directory\logical-host-name\scheduler-service-name

Notes

Return values

0

Normal end

Multiple of 4 from 4 to 124

Abnormal end