Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
You need to convert each timestamp (which must include at a minimum the Year, Month and Day, but a CCYYMMDD would be preferable) into seconds and then perform the subtraction.
Review the LE (Language Environment) Callable Service routine CEESECS and use this instead. It will keep you out of trouble and you'll always produce the correct result.
You can then use Callable Service routine CEEDATM to convert the resulting seconds into picture format.
Bill |
|