Coding logical AND conditions


Logical AND conditions are coded using contiguous IF statements as follows:

$$DD01 COPY IF=(12,EQ,C’01’),
            IF=(14,EQ,C’84’)

This statement copies any record that contains the characters 01 beginning in location 12 and the characters 84 beginning in location 14.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*