Previous Topic: ExampleNext Topic: Syntax


LOGICAL RECORD Statement

The LOGICAL RECORD statements define a logical record that programs using the current subschema can access. Depending on the verb, the LOGICAL RECORD statements can also modify, delete, display, or punch a logical-record description.

A logical record is defined by naming the logical record and all the subschema records that participate in it; these subschema records are known as logical-record elements. The records must participate in the subschema (through ADD RECORD statements) before they can be named as logical record elements in the LOGICAL RECORD statement.

Note: IDD work records used as logical-record elements do not need a subschema ADD RECORD statement.

The subschema compiler applies LOGICAL RECORD statements to the current subschema.