cscrepcheck (Verifying importability)
Format
cscrepcheck [-h]
-user login-user-ID
-pass login-password
-repfile repository-ZIP-file-name
[-compo [-name service-ID] ]
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 repositories for components in the uCosminexus 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 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 ~ <one-byte alphanumeric characters and underscores (_)> ((1 to 8 characters))
Specifies the HCSC components to be verified.
If this option is omitted, all the HCSC components of the repository ZIP file are verified.
Examples of input
cscrepcheck -user admin -pass admin -repfile repository.zip
cscrepcheck -user admin -pass admin -repfile repository.zip -compo
cscrepcheck -user admin -pass admin -repfile repository.zip -compo -name 1
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