IBMBAMM*

IBMBAMM1 is the PL/I library subroutine that handles structure mapping. A structure is a logical grouping of data elements which may or may not be all of the same data type.

This library subroutine has four entry points:

  • IBMBAMMA - computes the total length of a structure.

  • IBMBAMMB - maps a structure completely using the PL/I mapping algorithm.

  • IBMBAMMC - maps a structure completely using the COBOL mapping algorithm.

  • IBMBAMMD - partially maps a structure.

This entry point will branch to code associated with the IBMBAMMB entry point.

Calls to any of these entry points are generated by the compiler whenever some structure mapping needs to be done.

Hints

Identify the area to which the activity is being attributed. Determine if the user coded statement(s) can be eliminated or modified to make them more efficient.

Reference Sources

OS PL/I Resident Library: Program Logic, LY33-6008.

OS PL/I Optimize Compiler: Execution Logic, SC33-0025.