Hp XP P9500 Storage Bedienungsanleitung Seite 124

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 182
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 123
FAL Functions
The FAL includes the following C functions (Visual C++ for Windows systems):
Opening a dataset: datasetOpen (see Opening a Dataset on page 124)
Reading one record from a dataset: datasetGet (see Reading Data on page 125)
Writing one record to a dataset: datasetPut (see Writing Data on page 126)
Closing a dataset: datasetClose (see Closing a Dataset on page 127)
Acquiring error information: datasetGetLastError (see Acquiring Error Informa-
tion on page 127)
Acquiring dataset attribute information (see Acquiring Dataset Attributes on page 128):
datasetGetFileInformation
datasetFindNextFile
datasetFindFirstFile
datasetFindClose
Converting Dataset Attribute Information
See Converting DO and RF Information on page 131:
datasetGetDsorgString
datasetGetRecfmString
Opening a Dataset
datasetHandle = datasetOpen (pathname, mode)
The datasetOpen function opens the dataset specified by pathname for the type of access specified
by mode. Table 41 on page 124 shows the datasetOpen arguments and return values.
Table 41 DatasetOpen Function
DescriptionTypeValueItem
VSN:Dataset name
VSN = 6-character volser.
Volume must be listed in Data
Exchange volume definition file.
Delimiter = : (colon, no spaces
allowed)
Dataset name: 44 characters
maximum, no spaces allowed.
char *pathname
Argument
r = open dataset for read access
w = open dataset for write access
char *mode
HandleDATASET_HANDLEdatasetHandle
Return value
Abnormal end-1
Performing FAL Operations124
Seitenansicht 123
1 2 ... 119 120 121 122 123 124 125 126 127 128 129 ... 181 182

Kommentare zu diesen Handbüchern

Keine Kommentare