View previous topic :: View next topic
|
Author |
Message |
kitts
New User
Joined: 29 Jan 2006 Posts: 19
|
|
|
|
Hi,
I want to compare the dates in 2 datasets both contain it in the pos 1-8.
and replace it in the second file with that in first file if they are not equal.
How should I do a compare and replace using DFSORT? |
|
Back to top |
|
|
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
|
|
|
|
If the dates are not equal?
Somewhat random, unless there is some sort of key? |
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
Please show an example of the records in each input file for various cases and what you expect for output. Give the form (e.g. yyyymmdd or yyyyddd?) and format (e.g. CH, ZD, PD?) of the date. Give the RECFM and LRECL of the input files. |
|
Back to top |
|
|
|