Xerox 721P85530 User Manual

Page 330

Advertising
background image

USING LOGICAL PROCESSING

7-48

XEROX DOCUPRINT 180 LPS PDL REFERENCE

Therefore, in this example, only data strings that begin with A7 can
possibly pass the entire test.

Example 4

T2: TABLE MASK=(’*’,’:’,’!’),CONSTANT=(’DATE ::/
::/:: ID!!!’);

The TABLE command above sets up the character-to-type
associations shown in table 7-34.

A logical test using this TABLE command examines a field of an input
data record to determine if the word DATE is present, if the / is where
it is supposed to be, if the date itself is numeric (type 1), if the string
ID is present, and if the first three characters after ID are alphabetics
(type 2).

The basic element used to describe a test for a logical function is the
CRITERIA. Each CRITERIA command describes a field in either a
record or block and the specific test to be performed.

Table 7-34.

Character-to-type associations

Mask
position

Mask
character

Character
type

Meaning

0

*

None

Make no comparison

1

:

1

Any numeric (0-9)

2

!

2

Any alphabetic (A-Z, a-z)

Advertising