ENFORM Reference Manual
Option Variable Clauses
Clauses
5–50 058057 Tandem Computers Incorporated
@COPIES
specifies how many copies to print. Default is 1.
@COST-TOLERANCE
can be set to a number between 1 and 8. Setting @COST-TOLERANCE prevents
ENFORM from executing a strategy that is more expensive than the user wants.
When a larger number is specified, the query processor performs more work than
when a smaller number is specified.
This does not mean that an ENFORM session which meets criteria for level 2 will
always take less time to run than another ENFORM session which requires level 7.
The execution time also depends on the amount of data that must be processed.
When not set or set to 0 (zero), ENFORM proceeds with whatever strategy it
chooses.
If the strategy specified is exceeded, an error message is received and the
ENFORM program stops.
The desired cost tolerance level can be defined as follows:
0 allows the ENFORM session to proceed with no cost limit.
1 keyed access is used on all files.
2 one file might require one full-file read.
3 more than one full-file read is required.
4 one file might be sorted once for a link.
5 two files might be sorted once for a link.
6 one file might be sorted more than once for a link.
7 two files might be sorted more than once for a link.
8 two or more files can require full-file read at least once, with no convenient
strategy for doing the link available.
@DATE-FORMAT
specifies a default format for printing dates when AS DATE * is used. For date
format specifications, refer to the AS DATE clause in this section. The default is
“M2/D2/Y2”.
@DECIMAL
When set to a single ASCII character, ENFORM prints that character for a decimal
point. ENFORM also accepts the specified character in place of a decimal point in
a numeric literal. The default value is the period character (.).