Hitachi

JP1 Version 12 JP1/Automatic Operation Command and API Reference 


1.6.3 hcmds64chgurl (updating URL information)

Description

This command updates access (URL) information that is stored in the repository for Common Component and used for starting an application.

You use this command if either of the following configuration changes is made after operation of JP1/AO started:

Syntax

hcmds64chgurl
     {/list |
      /change URL-before-change URL-after-change |
      /change URL-after-change /type Automation}

Arguments

/list

This option causes the command to display the list of URLs and product names currently set up.

/change URL-before-change URL-after-change

This option causes the command to overwrite the URL related information currently registered with the new URL related information.

You specify both the URL that is currently registered and the new URL. If you use the option together with the type option, you only specify the new URL.

If you specify a URL with an IPv6 address, enclose the IP address in [ ].

/type Automation

This option specifies Automation as the name of the product whose URL is to be changed.

Located in

In Windows:

Common-Component-installation-folder\bin

In Linux:

/opt/HiCommand/Base64/bin

Execute permission

Execute the command as a user with Administrator or root permissions.

Return code

The following table lists the return codes from the command.

Return code

Description

0

The command succeeded.

1

The argument is invalid.

2

The URL cannot be found.

253

Restoring the repository failed.

254

Backing up the repository failed.

255

The command terminated abnormally.

Example

The following examples show how to use the command for each case.