Cketha Warnings : 1 New User
Joined: 19 May 2007 Posts: 22 Location: mumbai
|
|
|
|
Hi,
I have i/p a file with two date fields DATEA and DATEB, CCYY-MM-DD format.
Wants to check wheather DATEA = (DATEB + 1), using sortcard
Is it possible? If yes How? |
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
DFSORT does not have any built-in functions for doing arithmetic on date fields.
If you show an example of your input records and what you want for output, and explain the limits for the dates (e.g. minimum possible date to maximum possible date), we might be able to help you. Also, give the RECFM and LRECL of the input file and the starting possition of each date field. |
|