File I/O

You can use EGL to read from or write to files directly, without using a database manager.
EGL uses three stereotypes for direct file access (see Stereotypes):
IndexedRecord
Accesses a file by key value. For more information, see IndexedRecord stereotype.
RelativeRecord
Accesses a file by the relative position of the record in the file. For more information, see RelativeRecord stereotype
SerialRecord
Accesses a sequential file or data set. For more information, see SerialRecord stereotype.

At generation time, specify how you want to implement these records. The possible implementations vary based on the target runtime environment, and include sequential data files, VSAM files, spool files, transient data queues, and others. For more information, see the EGL Generation Guide.


Feedback