cscrepdiff (Displaying the differences in the repository information)
Format
cscrepdiff [-h]
-user login-user-ID
-pass login-password
-repfile exported-repository-ZIP-file-name
[-allinfo]
[{-check|-compo [-name service-ID]}]
[-listfile name-of-HCSC-component-specification-file-at-output-destination]
Function
Outputs the differences between the HCSC components in the repository information of the current operating environment and those in the specified repository information. If the following items in the repository information are same, this command displays the difference considering the component as the same HCSC component.
By setting up default values for mandatory options, such as the login user ID, in the HCSC-Manager command definition file, you can omit the specification of these values in this command.
For details on how to use this command, see 4.5 Referencing the differential information of a repository in the Service Platform System Setup and Operation Guide.
Arguments
-h
Displays the usage of commands. When you specify this option, all other options are ignored even if specified.
-user login-user-ID ~ <one-byte alphanumeric characters and underscores (_)> ((1 to 16 characters))
Specifies the user ID that is used to log in to HCSC-Manager.
-pass login-password ~ <one-byte alphanumeric characters and underscores (_)> ((1 to 16 characters))
Specifies the password that is used to log in to HCSC-Manager.
-repfile exported-repository-ZIP-file-name ~ ((1 to 200 bytes))
Specifies the name of the exported ZIP file whose differences are to be displayed as an absolute or relative path.
-allinfo
Displays the changes for all the HCSC components. All the imported HCSC components are displayed, so a large amount of information might be displayed if there are many HCSC components in the repository.
If this option is omitted, only the HCSC components with differences are displayed.
-check
Checks whether the HCSC server configuration information is the same in the repository information for the current operating environment and the repository information to be compared. An error occurs if the HCSC server configuration information is different. Do not specify this option for a standard import.
-compo
Displays the differences in HCSC components when the information is imported for each component.
-name service-ID ~ <one-byte alphanumeric characters and underscores (_)> ((1 to 8 characters))
Specifies the service ID of the HCSC component in a ZIP file when importing as components. You can specify this option when you specify the -compo option.
If this option is omitted, all the HCSC components in the ZIP file will be imported for each component.
-listfile name-of-HCSC-component-specification-file-at-output-destination ~ ((1 to 200 bytes))
Outputs the differences and the types of changes of the HCSC components to the specified file. Specifies the file in an absolute or relative path. If the path does not exist, the command terminates abnormally.
The output format is the same as that of the HCSC component-specification file. For details on the format for describing the HCSC component-specification file, see HCSC component-specification file.
Output format
The following is the output format of the HCSC component-specification file when the -listfile option is specified.
(1) To output a repository, wherein there are changes in all the items, to a file (when the -listfile option is specified)
(2) To output a repository, wherein there are changes in all the items, component-wise to a file (when the options -compo and -listfile are specified)
(3) To output a repository with some changed and some unchanged items to a file (when the options -allinfo and -listfile are specified)
Display format
The meanings of symbols in the display format are as follows:
<: HCSC components existing in the current repository information
>: HCSC components existing in the repository information of the specified ZIP file
(1) When there are changes in all the items
(2) When there are changes only in the business processes
(3) When there is no change (when the -allinfo option is omitted)
(4) When there are changes in all the items, but the items contain unchanged components (when the -allinfo option is specified)
Return values
Return value | Meaning |
---|---|
0 | The command terminated normally. |
1 | The command terminated abnormally. |
3 | An exclusion error occurred. |
9 | An error occurred when checking the execution permission. |
Notes