Example 7

 INCLUDE COND=(21,10,CH,GE,DATE1(-)-365)
This example illustrates how to include records in which a character date of the form C'yyyy-mm-dd' in bytes 21-30 is within 365 days of the current date. DATE1(-)-365 generates a character constant in the form C'yyyy-mm-dd' where yyyymmdd is the current date minus 365 days.