Pageable Maps › Creating Pageable Maps › Using the Batch Compiler
Using the Batch Compiler
The map developer makes pageable map specifications for a map by using clauses of batch compiler statements:
- PAGEABLE clause of the MAP statement—Designates that the map is a pageable map
- DETAIL START clause of the PFLD or MFLD (for MAP AUTOPANEL) statements—Establishes:
- The end of the header area (if any) on the line immediately above the line that contains the attribute byte for the field assigned the DETAIL START specification
- The start of the detail area on the line that contains the attribute byte of the field being defined
- The first field of the detail occurrence on the line that contains the attribute byte of the field being defined
The field assigned the DETAIL START specification must begin on a new line (that is, it cannot begin on a line that contains characters for a field in the header area).
- DETAIL END clause of the PFLD or MFLD (for MAP AUTOPANEL) statements—Establishes that the detail occurrence for the map is to end at the final character position of the current field
- FOOTER START clause of the PFLD or MFLD (for MAP AUTOPANEL) statement—This clause is optional. If it is used, it establishes:
- The start of the footer area on the line that contains the attribute byte for the field. The footer area ends at the end of the screen.
- The end of the detail area on the line immediately above the line that contains the attribute byte of the field assigned the FOOTER START specification.
The field assigned the FOOTER START specification cannot begin on a line that contains characters for a field in the detail occurrence. If assigned, the FOOTER START specification must be assigned to a following field the field assigned the DETAIL END specification.
Considerations
DETAIL START, DETAIL END, and FOOTER START can only be assigned to fields after the owner map has been designated as pageable. Only one pageable map area specification can be made on any given row of the map. For example, the DETAIL END and FOOTER START specifications cannot be assigned to different fields on the same row.
A map is not ready for use until the map utility has been used to generate a map load module for the completed map-definition.
Note: For more information about using the batch compiler, see "Batch Compiler Coding Considerations".
Copyright © 2013 CA.
All rights reserved.
|
|