Job Management Partner 1/Integrated Management - Manager Command and Definition File Reference
Function
This command imports IM Configuration Management information.
You cannot use this command unless IM Configuration Management Service is running. Only one instance of this command can be executing at the same time.
Format
jcfimport [-h logical-host-name]
-i directory-name
[-m | -c | -a]
Execution permission
In Windows: Administrator permissions (if the Windows UAC feature is enabled, the command is executed from the administrator console)
In UNIX: Superuser permissions
Storage directory
- In Windows:
Manager-path\bin\imcf\
- In UNIX:
/opt/jp1imm/bin/imcf/
Arguments
-h logical-host-name
When you are operating in a cluster system, this option specifies the logical host name of the host that executes the command. If this option is omitted, the command assumes the logical host name specified in the JP1_HOSTNAME environment variable. If the JP1_HOSTNAME environment variable is not specified, the command assumes the physical host name. If you do not use a cluster system, there is no need to specify this option.
-i directory-name
Specifies the name of the directory to which the files were exported by the export command, expressed as an absolute path or a path relative to the location where the command is executed. This option is mandatory.
-m
Specifies that only the host information is to be imported. This option cannot be specified together with the -c or -a option. If specified in such a case, an invalid argument error results. If you omit all of the -m, -c, and -a options, the -a option is assumed.
-c
Specifies that the system hierarchy and host information are to be imported. This option cannot be specified together with the -m or -a option. If specified in such a case, an invalid argument error results. If you omit all of the -m, -c, and -a options, the -a option is assumed.
-a
Specifies that all information is to be imported. This option cannot be specified together with the -m or -c option. If specified in such a case, an invalid argument error results. If you omit all of the -m, -c, and -a options, the -a option is assumed.
Return values
0 Normal termination 4 Invalid option 8 Server cannot be connected 12 Memory shortage occurred 16 Invalid permission 20 Error, such as a file error or invalid path 24 An input/output error occurred 120 System error occurred 124 Terminated due to other error 201 or greater JavaVM start error occurred
Example
Import the exported files under c:\temp:
jcfimport -i c:\temp
All Rights Reserved. Copyright (C) 2009, Hitachi, Ltd.