POSITION (Position) Keyword in Printer Files --Example

Figure 364 shows how to specify the POSITION keyword.

Figure 364. Specifying the POSITION Keyword

|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
A*
A          R REC1
A            FLD1           6S 2       POSITION(2.0 1.983)
A*
A            FLD2          42A         POSITION(&FLD2A &FLD2B)
A            FLD2A          5S 3P
A            FLD2B          5S 3P
A*
Note:
The UOM parameter on the CRTPRTF command determines the units of measure for the parameter values.

In REC1, FLD1 prints 2.0 units down and 1.983 units across from the margins specified on the FRONTMGN or BACKMGN parameter on the CRTPRTF command.

The application program determines the position of FLD2 by assigning values to program-to-system variables FLD2A and FLD2B.