cscrepcheck (Verifying importability)
- Organization of this page
Format
cscrepcheck [-h]
-user login-user-ID
-pass login-password
-repfile repository-ZIP-file-name
[-compo [-name {service-ID|reception-ID-of-user-defined-reception-(invocation-target-selected)}]]
Function
Checks whether the specified repository ZIP file can be imported. If the file cannot be imported, this command displays the cause in an error message.
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.6 Adding, updating, and deleting a repository using component as a unit in the uCosminexus Service Platform 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 repository-ZIP-file-name ~ ((1 to 200 bytes))
Specifies the absolute or relative path of the repository ZIP file whose importability is to be verified.
-compo
Specify this option to check whether the components of the repository can be imported.
If this option is omitted, the command checks the importability of the entire repository ZIP file.
-name {service-ID|reception-ID-of-user-defined-reception-(invocation-target-selected)} ~ <one-byte alphanumeric characters and underscores (_)> ((1 to 8 characters))
Specifies one of the following for the HCSC component whose importability is to be verified:
- service-ID
-
Specify the service ID of the business process or service adapter.
- reception-ID-of-user-defined-reception-(invocation-target-selected)
-
Specify the reception ID of the user-defined reception (invocation target selected).
If this option is omitted, all the HCSC components of the repository ZIP file are verified.
Examples of input
- (1) To verify the importability of the repository ZIP file repository.zip
cscrepcheck -user admin -pass admin -repfile repository.zip
- (2) To verify the importability of the components of the repository ZIP file repository.zip
cscrepcheck -user admin -pass admin -repfile repository.zip -compo
- (3) To verify the importability of a HCSC component with the service ID 1 in the repository ZIP file repository.zip
cscrepcheck -user admin -pass admin -repfile repository.zip -compo -name 1
- (4) To verify the importability of an HCSC component with the reception ID 2 in the repository ZIP file repository.zip
cscrepcheck -user admin -pass admin -repfile repository.zip -compo -name 2
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
-
An error might occur during the import process if the settings for using a database and Reliable Messaging differ in the repository information for the current operating environment and the repository information to be imported.
-
An error might occur during the import process if the SOAP mode of the repository information for the current operating environment differs from that of the repository information to be imported.
-
An error occurs if the repository contains multiple cluster environments.