Associated data records can be created by a translator for direct
inclusion with the program object as follows:
- Issue an element definition (ED) record for the class into which
the records are to be placed. The class name is chosen as shown in Associated data (ADATA) record types. Retain the ED associated with that type
of ADATA record for use as each is emitted.
- In the Behavioral Attributes field, set all fields to zero except:
- Class Loading Behavior is set to B'10'.
- Binding Algorithm is set to B'0000' (CAT).
- Set the "Text Record Style" to B'0010',
indicating that the data in this class is "unstructured" (so
that the program management binder will not attempt to interpret it
in any way).
- Two other fields could be set: Read-Only and (not) Executable.
- For each ADATA record, create a GOFF text record as follows:
- Set the Element ESDID to the ED value created for the class to
which this type of record belongs.
- Set the Offset to zero.
- Set the Data Length to the length of the ADATA record, and fill
the DATA field with the actual ADATA record itself.
The program management binder will accumulate the records of each
type into the specified class, by appending each new record to the
end of the previous record in that class.