fileName

The fileName property associates the name of a logical file or queue, in the form of a quoted string, with a structured record. This property is required for any structured record that accesses an external file, printer, or queue. Note that the logical file name must refer to a resource association, with the appropriate limitations, and not a physical file. For more information, see Resource associations part.

Example

The following example uses a SerialRecord to demonstrate the fileName property:

Record scratchRecord type SerialRecord {
    fileName = "myFile" }
  10 travelDate DATE;
  10 mileage DECIMAL(6,1);
end

Feedback