Figure 355 shows how to specify the LINE keyword.
Figure 355. Specifying the LINE Keyword
|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8 A* A R REC1 LINE(1.5 3.0 4.25 *HRZ 0.2 *TOP) A* A R REC2 LINE(2.1 1.5 7.5 *HRZ 0.05 *BOT) A LINE(&FLD1 &FLD2 4.25 *VRT 0.01 + A *LEFT) A FLD1 5S 3P A FLD2 5S 3P A* A R REC3 A 02 LINE(1.0 1.1 6 *HRZ 1) A* A A
REC1 prints a horizontal line 4.25 units long. The line starts 1.5 units down and 3.0 units across from the margins specified on the FRONTMGN or BACKMGN parameter on the CRTPRTF command. The line is 0.2 units wide. The extra width is added at the top of the line.
REC2 prints two lines. The first line, printed horizontally, starts 2.1 units down and 1.5 units across from the margins specified on the FRONTMGN or BACKMGN parameter on the CRTPRTF command. The line is 7.5 units long and 0.05 units wide. The extra width is added below the line.
The position of the second line is determined by the value assigned to program-to-system fields FLD1 and FLD2. The line, printed vertically, is 4.25 units long and 0.01 units wide. The extra width is added on the left side of the line.
REC3 prints a line only if indicator 02 is on. The extra width is added on the bottom of the line.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.