RelativeRecord stereotype

A relative record is a structured record that you use to work with a data set.

Relative records have the following characteristics:
  • The records are fixed length.
  • The records can be accessed by an integer that represents the sequential position of the record in the file.

You can read the file by using a get or get next statement. Also, you can write to the file by invoking an add or replace statement; you can remove a record from the file with a delete statement.

At generation time, use a ResourceAssociation part to specify how you want a relative record to be implemented for your target platform and provide information about how the fileName property relates to a physical file. For more information, see the EGL Generation Guide.

For information about properties you can assign to a RelativeRecord definition, see RelativeRecord properties.