View previous topic :: View next topic |
Author |
Message |
puttu Beginner
Joined: 29 Jul 2010 Posts: 41 Topics: 9
|
Posted: Tue Aug 17, 2010 5:52 am Post subject: Time difference |
|
|
Hi All,
I'm having two timestamps in YYYYMMDDHHMMSSMS.
I need to get the timestamp difference in milliseconds.
is any option in cobol..?
Rgds,
Puttu |
|
Back to top |
|
|
dbzTHEdinosauer Supermod
Joined: 20 Oct 2006 Posts: 1411 Topics: 26 Location: germany
|
Posted: Tue Aug 17, 2010 6:37 am Post subject: |
|
|
if you are not going to use db2,
then let me introduce you to Language Environment:
LE Overview
LE Manuals _________________ Dick Brenholtz
American living in Varel, Germany |
|
Back to top |
|
|
puttu Beginner
Joined: 29 Jul 2010 Posts: 41 Topics: 9
|
Posted: Tue Aug 17, 2010 9:15 am Post subject: |
|
|
Hi Dick,
i'm not using DB2.
But i found one module CEESECS and got one value.
I'm confusing whether this module (CEESECS) is showing difference in seconds or in milliseconds. |
|
Back to top |
|
|
Nic Clouston Advanced
Joined: 01 Feb 2007 Posts: 1075 Topics: 7 Location: At Home
|
Posted: Tue Aug 17, 2010 10:12 am Post subject: |
|
|
I do not know why you are confused - it specifically states that it converts a timestamp to seconds. And it is not showing a DIFFERENCE. A difference is one time subtracted from another. This just converts a time into seconds. _________________ Utility and Program control cards are NOT, repeat NOT, JCL. |
|
Back to top |
|
|
puttu Beginner
Joined: 29 Jul 2010 Posts: 41 Topics: 9
|
Posted: Tue Aug 17, 2010 10:21 am Post subject: |
|
|
Hi Nic,
Thanks a for your clarification.
Rgds,
Puttu |
|
Back to top |
|
|
misi01 Advanced
Joined: 02 Dec 2002 Posts: 629 Topics: 176 Location: Stockholm, Sweden
|
Posted: Wed Aug 18, 2010 2:13 am Post subject: |
|
|
Just out of interest - WHY do you need the difference in milliseconds. Is it really relevant/important _________________ Michael |
|
Back to top |
|
|
puttu Beginner
Joined: 29 Jul 2010 Posts: 41 Topics: 9
|
Posted: Wed Aug 18, 2010 11:56 am Post subject: |
|
|
it's very important to me.... For that only i asked. |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12376 Topics: 75 Location: San Jose
|
Posted: Wed Aug 18, 2010 12:05 pm Post subject: |
|
|
puttu wrote: | it's very important to me.... For that only i asked. |
Had you searched , you would have found this . Look at the solution G.
http://www.mvsforums.com/helpboards/viewtopic.php?t=2261
Before you point out , it gives the results in seconds and you can very easily convert that in to milliseconds/microseconds _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
|
|