Retrieval of Binding Information

When the BEGINSEGMENT and ENDSEGMENT compiler control options are used, a situation can occur where the binding information cannot be retrieved. This situation is related to two factors:

  • Two or more variables have the same address. Normally there is no conflict when this happens because the addresses relate to different code segments.

  • Procedures that are encountered between a BEGINSEGMENT and ENDSEGMENT option are placed in the same code segment.

When these two conditions occur, and multiple variables have the same address within the same code segment, the compiler cannot retrieve the binding information for those variables.

Diagnostic and debugging information also can be written to the TASKFILE so that the program dump and the information can be coordinated.