Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
As long as the edit-characters are the same (as you've indicated, hyphens) then the compare will yield the condition with which you've specified or are expecting.
However, if the edit characters are a mixture of hyphens and slashes (or whatever), then yes, this will yield unexpected conditions.
If you're worried, move the numeric portion of each date into 8-Byte WS fields (format=YYYYMMDD) and then issue the compare. |
|