CREATING A SAMPLE FORM

4.Position the title in the center of the invisible box.

This example shows the long form of the TEXT IN BOX command:

HORIZONTAL TEXT ALIGNED CENTER USING FONT 1 IN CENTER BOX 2, ±1 'COMPOSITE STOCK INVENTORY STATUS REPORT';

The TEXT IN BOX command places the title COMPOSITE STOCK INVENTORY STATUS REPORT in the center of the box whose upper left corner begins at character row 2, at character position ±1. FONT 1 is UN214A, the first font you specified with the FONT command; FONT 2 is UN107A, the second font specified.

5.Specify the column headings.

This example shows the long form of the command:

HORIZONTAL TEXT ALIGNED CENTER USING FONT 2 IN CENTER BOX 7, ±1 'CAT' 'NO'

IN NEXT HORIZONTAL BOX 'ITEM' 'NO'

IN NEXT HORIZONTAL BOX 'DESCRIPTION' IN NEXT HORIZONTAL BOX 'REOR' 'POINT' IN NEXT HORIZONTAL BOX 'REOR' 'QTY' IN NEXT HORIZONTAL BOX 'OPEN' 'STOCK'

IN NEXT HORIZONTAL BOX 'VENDOR' 'RECEIPTS' IN NEXT HORIZONTAL BOX 'STOCK' 'ORDERS' IN NEXT HORIZONTAL BOX 'COMM' 'STOCK' IN NEXT HORIZONTAL BOX 'SALES' 'ISSUES'

IN NEXT HORIZONTAL BOX 'BACK' 'ORDERS'

IN NEXT HORIZONTAL BOX 'VENDOR' 'RETURNS' IN NEXT HORIZONTAL BOX 'STOCK' 'TRANSFERS' IN NEXT HORIZONTAL BOX 'CURRENT' 'STOCK';

This command places a column heading in each column of the table, using FONT 2. The system automatically centers column headings.

The TEXT IN BOX command simplifies the task of placing text in a series of adjacent boxes. You only need to specify the coordinates of the upper±left corner of the first box. Subsequently, when you enter a BOX command, the system automatically recognizes the coordinates of a box directly to the right of the current box. The keywords IN NEXT HORIZONTAL are optional. It is also possible to specify the box directly below the current box, however, you must enter the keywords IN NEXT VERTICAL.

HOST FORMS DESCRIPTION LANGUAGE 3.2 FOR IBM MVS CREATING FORMS

4±5

Page 69
Image 69
Xerox Printer manual Creating a Sample Form