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


Example 7. Sort with COBOL E15, EXEC PARM and MSGDDN

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

 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.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014