cscrepupdate (Updating a repository)
Format
cscrepupdate [-h]
-user login-user-ID
-pass login-password
-inputfile name-of-ZIP-file-before-update
-outputfile name-of-ZIP-file-after-update
Function
Updates a repository created in an earlier version to a repository available in the installed version. If the repository need not be updated, nothing is output.
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 the description related to updating a repository in Appendix H.2 Procedure of installing and migrating an operating environment repository 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.
-inputfile name-of-ZIP-file-before-update ~ ((1 to 200 bytes))
Specifies the old repository ZIP file before update as an absolute or relative path.
An error occurs if the specified file does not exist.
-outputfile name-of-ZIP-file-after-update ~ ((1 to 200 bytes))
Specifies the output destination of the updated repository ZIP file with a new version as an absolute or relative path. If the extension of the specified file is not .zip,.zip is added. You cannot specify the same ZIP file as that specified in the -inputfile option.
If the specified file already exists, the file is overwritten. Also, an error occurs in the following cases:
Example of input
cscrepupdate -user admin -pass admin -inputfile repository_old.zip -outputfile repozitory_new.zip
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