Job Management Partner 1/Base User's Guide
Function
The jbshostsimport command registers the jp1hosts information into the common definition information. The order of the hosts in the jp1hosts data registered in the common definition information is not fixed.
Format
jbshostsimport { {-o|-r} jp1hosts-definition-file-name | -d }
[-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
{-o|-r} jp1hosts-definition-file-name
Specify the file name that defines the jp1hosts data to be registered in the common definition information. If you specify the -o option, the existing jp1hosts data registered in the common definition information is not deleted, and the newer jp1hosts data is added (the existing host that is the same as the newer one is overwritten). If you specify the -r option, all of the existing jp1hosts data registered in the common definition information are deleted, and the newer jp1hosts data is registered. For details about the format of jp1hosts definition file, see jp1hosts definition file in 14. Definition Files.
-d
Specify this option when you need to delete the jp1hosts data registered in the common definition information.
-h logical-host-name
When using JP1/Base in a cluster system, specify the logical host whose jp1hosts data you want to register or delete. 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.
Note
Do not use the following commands when JP1/Base is active.
Return values
0 Normal end 1 Message processing error 2 Command argument error 3 Permission check error 4 Common definition error 5 Syntax error 6 File I/O error
All Rights Reserved. Copyright (C) 2009, Hitachi, Ltd.