Xerox 6180N Using LCDS Print Description Language - Page 191
Specifying the, CRITERIA, LINENUM, parameter, String comparisons, Absolute equality, Equality under
UPC - 095205425307
View all Xerox 6180N manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 191 highlights
Using logical processing The criid1 and criid2 are the identifiers for two CRITERIA commands. The parentheses in this format are required. For example, the following three commands specify that a record should be selected (RSELECT parameter) if a particular field is equal to a given string constant (sc): T1: TABLE CONSTANT =(sc); C1: CRITERIA CONSTANT =(offset,length,EQ,T1); RSELECT TEST=(C1); NOTE: A compiler error occurs if you attempt an AND test on two different criteria that appear on two line ranges that do not overlap. For example, a logic problem occurs with the ROFFSET command if Criterion 1 is limited to line 3, and Criterion 2 is limited to line 2. In this scenario both criteria could never be satisfied on the same line. Specifying the CRITERIA LINENUM parameter The LINENUM parameter of a CRITERIA command specifies that only a subset of the data record in a report will be tested for the user defined criteria. This subset is specified as a set of contiguous line numbers for a logical page. If the carriage control specification for a given record places the record within the set of lines specified by LINENUM, the record is examined according to the CRITERIA command. Otherwise, it is not processed. String comparisons String comparisons for logical processing are specified using the CRITERIA and TABLE commands. These comparisons test for one of the following conditions: • Absolute equality: Tested by either a Change mode CRITERIA command or by a Constant mode CRITERIA command which references a TABLE command that does not have a MASK parameter coded. Refer to Processing sequence 1 in the "Commands that specify string comparisons" figure later in this chapter. • Equality under a mask: Tested when the referenced TABLE command has a MASK parameter coded. Refer to Processing sequence 2 in the "Commands that specify string comparisons" figure later in this chapter. Comparing strings for equality under a mask means that the user has specified, for each character position of the input data string, that the test performed is one of the following: Using LCDS Print Description Language 3-11