Technical data

8.3 Creating Form Definitions for ANSI Files
When you define forms for ANSI files, you can use various qualifiers that
affect the page layout. For example, the following command defines the form
CENTER to have a top margin of 6 and a left margin of 10:
$ DEFINE/FORM /MARGIN=(TOP=6,LEFT=10) CENTER 3
You can use the qualifiers in Table 8–1 with form defintions for ANSI files
only:
Table 8–1 DEFINE/FORM Qualifiers for ANSI Files
This Qualifier . . . Does the Following . . .
/LENGTH=n Sets the length of each page, in lines.
/MARGIN=keyword=n Sets the margins.
You supply one or more of the following keywords:
TOP=n
BOTTOM=m
RIGHT=y
LEFT=z
To supply more than one margin keyword, enclose
the list in parentheses, as in:
/MARGIN=(TOP=n,BOTTOM=m)
/PAGE_SETUP=module Applies a page setup module to each page in the
job.
/[NO]TRUNCATE Truncates long lines that do not fit in the page
width.
/WIDTH=n Sets the width of the page in columns or characters.
/[NO]WRAP Wraps lines wider than the page to the next line.
Notes:
These form definitions are useful only with ANSI files, because other types
of files have internal controls for these attributes.
You can prevent the software from wrapping or truncating long lines by
including both /NOWRAP and /NOTRUNCATE in the form definition.
Creating and Maintaining Form Definitions 8–3