CSV File Information (PrefixINFO) Data Structure
The variables described in this section are used by the CSV APIs and contain information about the CSV file.
Field | Description |
---|---|
<Prefix>INFO-NBR-FIELDS |
The number of fields defined in the file |
<Prefix>INFO-RECORD-COUNT |
The number of records in the file. |
<Prefix>INFO-HANDLE |
The file handle. Up to 10 characters. |
<Prefix>INFO-FILE-OPEN |
Indicates the status of the file. Y = the file is open. N = the file is closed. The default is N. |
<Prefix>INFO-FOUND |
Indicates whether the file exists. |
<Prefix>INFO-FILENAME |
The file name. The name can be up to 60 characters. |
<Prefix>INFO-INFO-SET |
One character. |
<Prefix>INFO-FILE-OPTS |
A field made up of the following subfields:
|
|
|
<Prefix>INFO-OLD-FLD-NAME |
The 30-character field name to be changed is moved to the OLD-FLD-NAME field. If this value is spaces, the corresponding value on the file's FLD-DESC field is not changed. |
<Prefix>INFO-NEW-FLD-NAME |
The new 30-character field name is moved to the NEW-FLD-NAME field. If this value is spaces, the corresponding value on the file's FLD-DESC field is not changed. The new field name is also used in matching columns and fields from an input CSV file. The matching field names and type values are not case sensitive. |
<Prefix>INFO-NEW-FLD-TYPE |
The new 10-character field type is entered as the text name for an element type. |