dsmUpdateFS
The dsmUpdateFS function call updates a file space in IBM Spectrum Protect storage. This update ensures that the administrator has a current record of your file space.
Syntax
dsInt16_t dsmUpdateFS (dsUint32_t dsmHandle,
char *fs,
dsmFSUpd *fsUpdP,
dsUint32_t fsUpdAct); Parameters
- dsUint32_t dsmHandle (I)
- The handle that associates this call with a previous dsmInitEx call.
- char *fs (I)
- This parameter is a pointer to the file space name.
- dsmFSUpd *fsUpdP (I)
- This parameter is a pointer to the structure that has the correct fields for the update that you want. Complete only those fields that need updating.
- dsUint32_t fsUpdAct (I)
- A 2-byte bit map that indicates which of the fields to update.
The bit masks have the following values:
DSM_FSUPD_FSTYPEDSM_FSUPD_FSINFOTip: For Windows operating systems, the drive letter value from dsmDOSAttrib is also updated when FSINFO is selected.DSM_FSUPD_OCCUPANCYDSM_FSUPD_CAPACITYDSM_FSUPD_BACKSTARTDATEDSM_FSUPD_BACKCOMPLETEDATE
DSM_FSUPDdefinitions in the following topic: API type definitions source files.
Return codes
The following table lists return codes for the dsmUpdateFS function call.
Return code |
Return code number |
Description |
|---|---|---|
|
2061 |
File space name is not registered. |
|
2065 |
The API version of the application client is different from the IBM Spectrum Protect library version. |
|
2106 |
File space information is too long. |