Using Page Definition Commands for Record Format Line Data and XML Data
In this section:
- Record Formatting FunctionThe record formatting function allows an application to specify a format identifier (Record ID) with each set of output data fields (Data Record). The format identifier references a specific layout format in a page definition (PAGEDEF). At print time, each layout format (referenced by a Record ID in a Data Record) is retrieved from the PAGEDEF and used to position and format the associated Data Records/fields on the output page.
- Record Format Page Definition
- Record ID Data Format
- LAYOUT Command
- FIELD CommandThe FIELD command is used to identify a field in a Data Record to be formatted and placed on the page. FIELD must follow the LAYOUT command, and parameters that are not specified on FIELD are inherited from the previous LAYOUT. This section describes the new keywords on FIELD that are used with record formatting.
- Defining Logical Page Size
- Positioning the DataThe previous section showed you how to define the size of a logical page. The next examples show you how to position data inside the logical page.