API Guide
2-870 API Functions 601355 Rev A
Two levels of default parameter settings are used in the API
software— global defaults and command-specific defaults.
Global defaults for all commands are initialized at startup
and can be set or retrieved using VS_Global_SetFields
and VS_Global_GetFields function calls.
Command-specific parameter defaults for Drive Pool Query
commands are set with
VSCMD_DrivePoolQuery_SetDefaults. If
command-specific defaults are set for Drive Pool Query
commands, they override the global defaults for all
commands.
The following fields can be retrieved from the status handle
after a successful Drive Pool Query request:
• VSID_DRIVEPOOL_HANDLE,
• VSID_DRIVEPOOL_HANDLE_ENTRY,
• VSID_DRIVEPOOL_HANDLE_TABLE,
VSID_QUERY_OPTION,
• VSID_SEQUENCE_NUM,
VSID_SEQUENCE_TABLE,
• VSID_STATUS_CODE,
VSID_STATUS_TYPE,
• VSID_USER_FIELD.
Tip
To override a default (global or command-specific)
parameter value for a specific instance of a Drive Pool
Query command, the parameter identifier and the value to
be used for the parameter can be submitted on the specific
request itself.