HP StorageWorks P9000 Data Exchange User Guide (T1620-96016, September 2010)
Close Dataset
• Format: datasetError=dataset_Close(global,g_error)
Table 56 Arguments, Types, and Descriptions for Close Dataset
DescriptionTypeArgument
Global memory areavoidglobal
An error information stored arealongg_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 Chapter 7 on page 149.
Free Information Stored Area
• Format: memError= dataset_FreeGlobal(dgpp, derrno)
Table 57 Arguments, Types, and Descriptions for Free Information Stored Area
DescriptionTypeArgument
Global memory areavoid**dgpp
An error information stored arealong*derrno
int
memError
Return value:
Abnormal end0
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 Chapter 7 on page 149.
HP StorageWorks P9000 Data Exchange User Guide 141