cscfscrm (Deleting a common folder)

Format

cscfscrm [-h]
-user login-user-ID
-pass login-password
{-csc HCSC-server-name|-cluster cluster-name}
{-folder common-folder-definition-name
[-targetfilename file-name|-t deletion-start-date-and-time|-d number-of-days]
|-all [-t deletion-start-date-and-time|-d number-of-days]}
[-retrycount retry-count]
[-retryinterval retry-interval-(seconds)]

Function

Deletes the files in the common folder. This command does not delete the common folder and the folders in the common folder.

The retry count and the retry interval are used to obtain a lock. If you specify multiple files, the retry count and the retry interval are enabled for each file.

The processing will be cancelled after an error occurs when you delete multiple files.

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 5.4.22 Deleting files from common folders 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. The characters are case sensitive.

-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. The characters are case sensitive.

-csc HCSC-server-name ~ <one-byte alphanumeric characters and underscores (_)> ((1 to 8 characters))

Specifies the HCSC server name. The characters are case sensitive.

-cluster cluster-name ~ <one-byte alphanumeric characters and underscores (_)> ((1 to 8 characters))

Specifies the cluster name. The characters are case sensitive.

-folder common-folder-definition-name ~ <one-byte alphanumeric characters and underscores (_)> ((1 to 64 characters))

Specifies the common folder definition name. The characters are case sensitive.

-targetfilename file-name ~ ((1 to 200 bytes))

Specifies the name of the file to be deleted.

Specify the files existing in the common folder. To reference the files in a common folder, execute the cscfscls command.

-t deletion-start-date-and-time

Deletes the files in the common folders older than the specified date and time. Note that you can specify the date and time in the following format. Also, make sure that you specify an existing date.

-d number-of-days ~ <Integer> ((0 to 365))

Deletes the files older than the specified number of days, in the common folder. Specify the number of days in days. If you specify 0, all the files in the common folder will be deleted.

-all

Deletes the files from all common folders.

-retrycount retry-count ~ <Integer> ((0 to 10000))

Specifies the retry count. The default value is 0.

If 0 is specified, the operation is not retried.

-retryinterval retry-interval-(seconds) ~ <Integer> ((0 to 86400))

Specifies the retry interval in seconds. The default value is 1.

If 0 is specified, the operation is retried without an interval.

Return values

Return valueMeaning
0The command terminated normally.
1The command terminated abnormally.
2A communication timeout occurred.
3An exclusion error occurred.
9An error occurred when checking the execution permission.

Notes