Close dataset, Free information stored area, 141 free information stored area – HP XP P9500 Storage User Manual
Page 141

Close Dataset
•
Format: datasetError=dataset_Close(global,g_error)
Table 56 Arguments, Types, and Descriptions for Close Dataset
Description
Type
Argument
Global memory area
void
global
An error information stored area
long
g_error
long
datasetError
Return value:
Abnormal end
-1
This function closes a dataset.
•
Return value:
• When this function ends normally, “0” is returned.
• When “- 1” is returned, see the content of g_error for error code detail. For further inform-
ation, see
Free Information Stored Area
•
Format: memError= dataset_FreeGlobal(dgpp, derrno)
Table 57 Arguments, Types, and Descriptions for Free Information Stored Area
Description
Type
Argument
Global memory area
void**
dgpp
An error information stored area
long*
derrno
int
memError
Return value:
Abnormal end
0
This function releases information stored area.
•
Argument:
• dgpp: Global memory area (specify a global memory area gotten by dataset_AllocGlob-
al
).
• derrno: Specify an address to store FAL error code.
•
Return Value:
• When this function ends normally, “1” is returned.
• When this function ends abnormally, “0” is returned. When “0” is returned, see the content
of derrno for error code detail. For further information, see
HP StorageWorks P9000 Data Exchange User Guide
141