Basic record part in EGL source format

You declare a record part of type basicRecord in an EGL file, which is described in EGL source format.

An example of a basic record part is as follows:

  Record myBasicRecordPart type basicRecord
    10 myField01 CHAR(2);
    10 myField02 CHAR(78);
  end

The syntax diagram for a basic record is as follows:


Syntax diagram for a basic record part

Record recordPartName basicRecord

Identifies the part as being of type basicRecord and specifies the name. For rules, see Naming conventions.

structureItem

A structure item, as described in Structure item in EGL source format.

Related concepts
EGL projects, packages, and files
References to parts
Parts
Record parts
References to variables and constants
Typedef

Related tasks
Syntax diagram

Related reference

DataItem part in EGL source format
EGL source format
Function part in EGL source format
Indexed record part in EGL source format
MQ record part in EGL source format
Naming conventions
Primitive types
Program part in EGL source format
Properties that support variable-length records
Relative record part in EGL source format
Serial record part in EGL source format
SQL record part in EGL source format
Structure item in EGL source format