Creating an EGL record part

A record part defines a structure (a hierarchical layout of fixed-size data elements in storage) and an optional binding, which is a relationship of the record to an external data source (file, database, or message queue). EGL record parts are contained in EGL files. To create an EGL record part, do as follows:

  1. Identify an EGL file to contain the record part and open that file in the EGL editor. You must create an EGL file if you do not already have one.

  2. Type the specifics of the record part according to EGL syntax (for details, see Basic record part in EGL source format, Indexed record part in EGL source format, MQ record part in EGL source format, Relative record part in EGL source format, Serial record part in EGL source format, and SQL record part in EGL source format). You can use content assist to place an outline of the record part syntax in the file.

  3. Save the EGL file.

Related concepts
EGL projects, packages, and files
Record parts

Related tasks
Creating an EGL source file
Using content assist in EGL

Related reference
Basic record part in EGL source format
Content assist
Indexed record part in EGL source format
MQ record part in EGL source format
Naming conventions
Relative record part in EGL source format
Serial record part in EGL source format
SQL record part in EGL source format