Author: Rohit Umarjikar
Posted: Thu Jun 30, 2016 10:43 pm (GMT 5.5)
My bad if you take it that way
. I am just saying if you could tell the requirement exactly then you would get a quicker and better solution. Also when you claim you did check the manuals and this forum then how did you not find what I found?
From the Manual...
_________________
Regards,
Rohit Umarjikar
"Some things Man was never meant to know. For everything else, there's Google"
Posted: Thu Jun 30, 2016 10:43 pm (GMT 5.5)
My bad if you take it that way

From the Manual...
Code: |
To obtain an elapsed time in a particular format, the ABSTIME data value can be the difference between two values that are returned by ASKTIME, and options such as DAYCOUNT(d) and TIME(t) can be specified.When you use the DATESTRING option to request an architected date and time stamp string that requires the clock time to be at GMT or Coordinated Universal Time (UTC), CICS calculates the required timezone offset from your supplied ABSTIME value, which is in local time, and produces the date and time stamp string in GMT or UTC. All other values that are returned by the FORMATTIME command, such as the TIME value, are returned in local time. It is therefore normal for the FORMATTIME command to produce an architected date and time stamp string that shows one date and time, and return other values that show another date and time, for the same supplied ABSTIME value. |
_________________
Regards,
Rohit Umarjikar
"Some things Man was never meant to know. For everything else, there's Google"