DFHDSB (data stream build)

The data stream build program addresses the page buffer, composed by the page and text build program (DFHPBP). The page buffer contains lines of output data that are to be written to a terminal other than an IBM® 3270 Information Display System. The number of lines is contained in the TTPLINES field. The data stream build program performs the following functions on the data in the page buffer:
  • Truncates trailing blanks within data lines
  • Substitutes strings of physical device control characters for logical new-line characters that terminate each line of data
  • Provides a format management header (FMH) for some z/OS® Communications Server-supported devices
  • Allows horizontal and vertical tab processing.
Figure 1 shows the relationships between the components of data stream build.
Figure 1. Data stream build interfaces
Diagram showing the components of data stream build and the relationships between them.
Note:
  1. DFHDSB is entered from the page build program to process the page buffer.
  2. For SEND TEXT commands with the NOEDIT option specified, page buffer compression is skipped and control returns to DFHPBP, which calls the terminal page processor (DFHTPP).
  3. For SEND TEXT commands without the NOEDIT option, the appropriate device control characters for the target device are selected for substitution.
  4. The page buffer containing the data to be compressed is located through the address stored at TTPPGBUF.
  5. After compression of the page buffer data, control returns to DFHPBP, which calls DFHTPP to provide disposition of the page.