Mapping object module ESD PR items

OBJ ESD records containing PR data provide the PR name, its ESDID, and its length and alignment requirements.

OBJ PR elements are mapped onto GOFF format PR records as indicated in Table 1. A GOFF SD record defines the section owning the PR item; this record will have been previously issued. An ESD record defining an ED for class C'B_PRV' should also be issued, and the Binding Algorithm field is set to B'0001'.

Table 1. Mapping OBJ ESD PR items to GOFF format
OBJ element GOFF element
PR element The GOFF ESD record items are set as follows: all fields are zero, except:
  • The Symbol Type is set to X'03' (PR).
  • Its ESDID is assigned.
  • The owning ESDID is that of the owning ED (or zero if no ED record was provided, in which case the program management binder will take a default action).
  • The Length is set to that of the PR item.
  • The Name Space ID is X'02'.
  • The Behavioral Attributes are all set to zero, except that the Binding Algorithm field is set to B'0001' and the Alignment field is set to indicate the desired PR alignment.
  • The Name Length is set to that of the PR, and the PR name is placed in the Name field.

Note that the use of "owning EDs" is not recommended, and translators producing GOFF records should not rely on the binder continuing to treat this as defaulting to B_PRV.