Xerox 4112-4127 Enterprise Printing System-192 User Manual
Page 208
Using logical processing
3-28
Using LCDS Print Description Language
Example 2
If a job stream has two trailer pages with the character string
DATE=mm/dd/yy appearing on line 10 or 11 and beginning in
print position 20, the BANNER criteria could be coded as follows:
The MASK parameter specifies a masking character. The
CONSTANT parameter specifies both the constant data being
compared and the character positions in which variable data is
not being compared. In this example, positions 1 through 5
(DATE=), as well as positions 8 and 11 (the / 's), of the specified
character string contain fixed data. Positions 6, 7, 9, 10, 12, 13,
14, and 15, which are identified by the mask character (:),
contain variable data and are not compared.
Header page count has been set to zero because no headers
are present in the job stream (that is, none are being tested for).
BSELECT and BDELETE commands
Blocks that are interspersed within one offline report or file may
be either selected for or deleted from printing by use of the
BDELETE and BSELECT commands.
These commands can also be used selectively to delete
specialized blocks; for example, control blocks and unsupported
labels that are on the data tape but should not be printed.
BSELECT and BDELETE TEST parameter
For offline jobs, this parameter defines test expression for
selecting blocks for printing or for deleting blocks from printing.
Syntax
BSELECT TEST = test-exp
BDELETE TEST = test-exp
T2: TABLE
CONSTANT=('DATE=::/::/::'),
MASK=(':');
C2: CRITERIA
CONSTANT=(19,13,EQ,T2),
LINENUM=(10,2);
BANNER
TEST=C2, HCOUNT=0, TCOUNT=2;