z/OS DFSORT Application Programming Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Example 6. Sort with VSAM input/output, DFSPARM and option override

z/OS DFSORT Application Programming Guide
SC23-6878-00

 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.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014