Using logical processing
Using LCDS Print Description Language
3-9
Example 4
The TABLE command below sets up the character to type
associations shown in the following table.
A logical test using this TABLE command examines a field of an
input data record to determine if the following conditions are met:
•
The word DATE is present.
•
The / is in the right place.
•
The date itself is numeric (type 1).
•
The string ID is present.
•
The first three characters after ID are alphabetic (type 2).
CRITERIA command
The CRITERIA command specifies that a test for a particular
logical function will be performed on a specific field in the record.
This command requires an identifier, which is specified with the
TEST parameter in any of the logical processing commands.
Specific TEST parameters are described in the individual logical
processing command sections.
CRITERIA command modes
There are three formats or modes for CRITERIA commands:
Constant mode, Change mode, and Value mode. You select the
mode by specifying either the CHANGE parameter, the
CONSTANT parameter, or the VALUE parameter of the
CRITERIA command in your JSL.
NOTE: A command may specify only one mode. However,
CRITERIA TABLES may specify either Change mode, Constant
mode, or both functions; there are no restrictions on their usage
or combination in tables.
T2:
TABLE
MASK=('*',':','!'),
CONSTANT=('DATE ::/::/:: ID!!!');
Table 3-6. Character to type associations
Mask
position
Mask
character
Character
type
Meaning
0
*
None
Make no comparison
1
:
1
Any numeric (0 through 9)
2
!
2
Any alphabetic (A through Z, a through z)
Содержание Nuvera 100
Страница 1: ...Xerox DocuPrint EPS Using LCDS Print Description Language 701P21091 Version 3 7 May 2003...
Страница 16: ...Table of contents xvi Using LCDS Print Description Language...
Страница 28: ...Introduction xxviii Using LCDS Print Description Language...
Страница 151: ...Specifying input parameters Using LCDS Print Description Language 2 43 Figure 2 3 Record format types...
Страница 227: ...Using logical processing Using LCDS Print Description Language 3 47 Figure 3 6 Effects of RPAGE SIDE parameter...
Страница 228: ...Using logical processing 3 48 Using LCDS Print Description Language Figure 3 7 Effects of RPAGE WHEN parameter...
Страница 240: ...Using logical processing 3 60 Using LCDS Print Description Language Figure 3 8 Sample RSTACK command usage illustration...
Страница 352: ...Specifying print format parameters 4 112 Using LCDS Print Description Language...
Страница 434: ...Using PDL commands for graphics 6 8 Using LCDS Print Description Language...
Страница 464: ...Character code assignments C 8 Using LCDS Print Description Language...
Страница 469: ...Offline specifications Using LCDS Print Description Language D 5 Figure D 2 LPS tape format diagram...
Страница 498: ...INDEX INDEX 12 Using LCDS Print Description Language...