Using logical processingUsing LCDS Print Description Language 3-9Example 4 The TABLE command below sets up the character to typeassociations shown in the following table.A logical test using this TABLE command examines a field of aninput 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 commandThe CRITERIA command specifies that a test for a particularlogical function will be performed on a specific field in the record.This command requires an identifier, which is specified with theTEST parameter in any of the logical processing commands.Specific TEST parameters are described in the individual logicalprocessing command sections.CRITERIA command modesThere are three formats or modes for CRITERIA commands:Constant mode, Change mode, and Value mode. You select themode by specifying either the CHANGE parameter, theCONSTANT parameter, or the VALUE parameter of theCRITERIA command in your JSL.NOTE: A command may specify only one mode. However,CRITERIA TABLES may specify either Change mode, Constantmode, or both functions; there are no restrictions on their usageor combination in tables.T2: TABLE MASK=('*',':','!'),CONSTANT=('DATE ::/::/:: ID!!!');Table 3-6. Character to type associationsMaskpositionMaskcharacterCharactertype Meaning0 * None Make no comparison1 : 1 Any numeric (0 through 9)2 ! 2 Any alphabetic (A through Z, a through z)