Example 6
INCLUDE COND=(15,7,CH,GE,DATE3-7,AND,15,7,CH,LE,DATE3+7)
This
example illustrates how to include records in which a character date
of the form C'yyyyddd' in bytes 15-21 is between 7 days in the past
and 7 days in the future, relative to the current date. DATE3-7 generates
a character constant in the form C'yyyyddd' where yyyyddd is the current
date minus 7 days. DATE3+7 generates a character constant in the
form C'yyyyddd' where yyyyddd is the current date plus 7 days.