Xerox FreeFlow Printer User Manual


 
Using logical processing
Using LCDS Print Description Language 3-15
Options
Default No default
CRITERIA
CHANGE
parameter: points
to note
In online jobs, the host truncates trailing blanks. You may add
blank character spaces to any control fields that are shorter
than the specified length, so the system can make a
comparison.
The data field contents are not interpreted as a number, but
as individual bytes of data. Therefore, comparison of the
numeric values of two data fields is not relevant. (For
example, “2.00” does not equal “2.000.”) Use the VALUE
parameter to perform this kind of comparison.
When Change Mode CRITERIA commands are evaluated, a
string from the current line is compared with a string saved
from the corresponding part of a previous line. Refer to
“String comparisons” earlier in this chapter for information on
use of strings in logical processing commands.
If the comparison is not equal, the string from the current
line becomes the saved comparison string for subsequent
lines and the criteria is considered true.
If two records are overprinted on the same line but with
different data in the field defined by the CRITERIA
command, the string from the last overprint record
becomes the saved comparison string and the CHANGE
CRITERIA is satisfied.
Table 3-8. CRITERIA CHANGE parameter options and definitions
Option Definition
offset The offset in bytes (relative to zero) from the start of the user portion of the
record to the control field within the record.
length The length in bytes of the control field. Its range is 1 to 255.
NE Indicates “not equal to.”
LAST Indicates that the control field of the current record is being compared to
the control field of the previous (last encountered) record. If a control field
of the current record is less than the specified length, the comparison is
not done and the test fails.