DFHPBP (page and text build)
- SEND MAP
- SEND MAP PAGING
- SEND MAP SET
- SEND PAGE
- SEND TEXT
- SEND TEXT PAGING
- SEND TEXT SET.
- Positions the data in the page, either by placing it in a buffer, or by copying it and adjusting the map for an IBM 3270 Information Display System (SEND MAP ACCUM)
- Places the data into the page buffer (SEND TEXT ACCUM)
- Inserts device-dependent control characters for other than 3270 Information Display System devices, removing extended attributes.

- DFHPBP is entered from the mapping control program, DFHMCP, to process all BMS output requests. It is called once for each terminal type parameter (TTP) on the TTP chain pointed to by OSPTTP. The current TTP in the chain is pointed to by OSPCTTP.
- DFHPBP returns control to DFHMCP when request processing is complete, or when the page must be written out before a SEND MAP ACCUM request can be processed and an OFLOW=symbolic address operand was specified.
- OSPTR2, OSPTR3, ..., OSPTR7 contain request data from the DFHBMS macro expansion. OSPRC1 and OSPRC3 contain return codes to be examined by DFHMCP.
- For a SEND MAP ACCUM request for an IBM 3270 Information Display
System, the map is copied and chained to the TTP. For a SEND TEXT
ACCUM request for an IBM 3270 Information Display System, a dummy
map is created and chained to the TTP. When a page is complete, control
is given to 3270 mapping (DFHM32), which combines the map copies chained
to the TTP and maps the data.
For a SEND MAP ACCUM request for an LU1 printer with extended attributes, the map is copied and chained to the TTP. For a SEND TEXT ACCUM request, a dummy map is created and chained to the TTP. When a page is complete, control is given to the LU1 printer mapping program (DFHML1), which combines the map copies chained to the TTP and maps the data.
- DFHPBP communicates with storage control to:
- Acquire and free buffers in which pages are built
- Acquire storage for copies of maps for SEND MAP ACCUM or SEND TEXT ACCUM
- Acquire storage for a copy of the user’s data for SEND MAP ACCUM or SEND TEXT ACCUM.
- DFHPBP requests program manager to terminate a transaction abnormally (ABEND) if certain errors occur that cannot be corrected.
- A SEND TEXT ACCUM request for an IBM 3270 Information Display
System causes a map set consisting of one dummy map to be passed to
3270 mapping (DFHM32). The map has one field with attributes FREEKB
and FRSET.
SEND TEXT ACCUM requests for an LU1 printer cause a map set consisting of one dummy map to be passed to the LU1 printer mapping program (DFHML1). The map has one field with attributes FREEKB and FRSET.
- If the page is being constructed for an IBM 3270 Information Display
System, control is given to DFHM32 to map the data and then to DFHTPP
to output the page.
If the page is being constructed for an LU1 printer, control is given to DFHML1 to map the data, and then to DFHTPP to output the page. Otherwise, control is given to DFHDSB to add device dependencies to the page, and then to the terminal page processor (DFHTPP) to output the page.