TEXT BUILDING - IBM Mainframe

The text building facility allows your application program to display a data stream without using BMS maps. With text building, the output is not to be formatted into columns or distinct fields. Rather the only formatting required is to break the text into lines of a length appropriate to the terminal type in use. The text can be contained in one page or it can spread over multiple pages. BMS automatically creates new pages depending on the page size of the terminal.

Text Building Process

Text Building Process

The most common use of text building is for simple messages requiring no formatting, such as transaction error messages. However the text building facility is flexible and powerful enough for complex help screens or any other unmapped output data application.

Data can be formatted as a single block, or several blocks of text can be accumulated to form an output page. It is also possible to compile text messages that require more than one page for their display, or in other words to create logical messages for terminal paging.

A data stream into which new-line characters may be inserted by the application program is formatted by BMS into line-sized units based on the terminal type. Blanks in the data stream are used to determine word boundaries. When multiple blocks of text are accumulated into a page, you may request that a header and trailer information be included. This information is similar to the header and trailer data used in page building, but text headers and trailers are not built using maps.


All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

IBM Mainframe Topics