HP StorageWorks P9000 Data Exchange User Guide (T1620-96016, September 2010)

Initialize Target Record Pointer
Format: datasetError=dataset_Rewind(global,g_error)
Table 58 Arguments, Types, and Descriptions for Initialize Target Record Pointer
DescriptionTypeArgument
Global memory areavoidglobal
An error information stored area
long
1
g_error
long
datasetError
Return value:
Abnormal end-1
1
When this function is issued before dataset_Put, dataset_Put2, dataset_Get, and dataset_Get2, the pointer is
returned to the top record. And then next dataset_Put, dataset_Put2, dataset_Get, and dataset_Get2 are performed
from the top record.
Argument:
global: Global memory area (specify a global memory area gotten by dataset_AllocG-
lobal).
g_error: Specify an address to store FAL error code.
Return Value:
When this function ends normally, “0” is returned.
When this function ends abnormally, “- 1” is returned.
When “- 1” is returned, see the contents of g_error for error code detail. For further inform-
ation, see Chapter 7 on page 149.
Get Dataset Attribute Information
Get Specified Dataset Attribute Information
Format: datasetError= dataset_GetFileInformation(global, g_error, &ffd)
Table 59 Arguments, Types, and Descriptions for Get Specified Dataset Attribute Information
DescriptionTypeArgument
Global memory areavoidglobal
An error information stored arealongg_error
A dataset attribute information
stored area
DATASET_FIND_DATAffd
long
datasetError
Return value:
Abnormal end-1
An attribute of the opened dataset is returned to ffd.
Argument:
Performing FAL Operations142