DFHPBPA$, DFHPBP1$ executable module

Entry points

DFHPBPNA

Called by

DFHMCP

Description

The page and text build program positions maps or text, including header or trailer maps or text, within a page of output. For non-3270 devices, the module creates a page buffer containing the user’s data which is then passed to DFHDSB to produce a device-dependent data stream. When mapping, this includes merging the data supplied by the application with the constant data included in the map. For 3270 devices, copies of the maps and application-supplied data for a page are chained together, to be processed by module DFHM32, to produce a 3270 data stream. The page and text build program creates dummy maps, and chains them in the same way for 3270 text building. For LU1 printers with extended attributes, copies of the maps and application-supplied data for a page are chained together, to be processed by module DFHML1 to produce an SCS data stream. The page and text build program creates dummy maps, and chains them in the same way for text building. After the maps have been processed by DFHDSB, DFHM32, or DFHML1, DFHPBP calls DFHTPP to write them out.

The main subroutines of DFHPBP are:
PBDOUTPT
Mapping/text build complete, decide whether to call data stream generator and which one (DFHDSB or DFHM32). Return to caller (DFHMCP)
PBD00005
Main control logic, request analysis.
PBD01000
Map placement logic (3270 and non-3270 mapping).
PBD01130
Non-3270 mapping.
PBD10000
Pageout routine.
PBD11000
Modify field positions within map (used by 3270 and non-3270 mapping).
PBD20000
Text processing (3270 and non-3270).
PBD30000
3270 mapping.
PBFMHBLD
Build FMH if FMHPARM specified (non-3270 text and map processing).