Tivoli Header
Tivoli Storage Manager Using the Application Program Interface
The dsmUpdateFS function call updates a file space in TSM
storage. This ensures that the TSM 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 filespace name.
- dsmFSUpd *fsUpdP (I)
- This parameter is a pointer to the structure that has the proper fields
completed for the update that you want. Complete only those fields that
need updating.
- dsUint32_t fsUpdAct (I)
- A two-byte bit map that indicates which of the above fields to
update. The bit masks are:
- DSM_FSUPD_FSTYPE
- DSM_FSUPD_FSINFO
- Note:
- For Intel operating systems, the drive letter value from
dsmDOSAttrib is also updated when FSINFO is
selected.
- DSM_FSUPD_OCCUPANCY
- DSM_FSUPD_CAPACITY
- DSM_FSUPD_BACKSTARTDATE
- DSM_FSUPD_BACKCOMPLETEDATE
See the DSM_FSUPD definitions in Appendix A, API Type Definitions Source File for a description of these bit masks.
Return Codes
The return code numbers are provided in parentheses ( ).
Table 45. Return Codes for dsmUpdateFS
Return Code
| Explanation
|
DSM_RC_FS_NOT_REGISTERED (2061)
| Filespace name is not registered.
|
DSM_RC_WRONG_VERSION_PARM (2065)
| Application client's API version is different from the TSM library
version.
|
DSM_RC_FSINFO_TOOLONG (2106)
| Filespace information is too long.
|
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]