MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Time difference

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
puttu
Beginner


Joined: 29 Jul 2010
Posts: 41
Topics: 9

PostPosted: Tue Aug 17, 2010 5:52 am    Post subject: Time difference Reply with quote

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
View user's profile Send private message Send e-mail
dbzTHEdinosauer
Supermod


Joined: 20 Oct 2006
Posts: 1411
Topics: 26
Location: germany

PostPosted: Tue Aug 17, 2010 6:37 am    Post subject: Reply with quote

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
View user's profile Send private message
puttu
Beginner


Joined: 29 Jul 2010
Posts: 41
Topics: 9

PostPosted: Tue Aug 17, 2010 9:15 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Nic Clouston
Advanced


Joined: 01 Feb 2007
Posts: 1075
Topics: 7
Location: At Home

PostPosted: Tue Aug 17, 2010 10:12 am    Post subject: Reply with quote

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
View user's profile Send private message
puttu
Beginner


Joined: 29 Jul 2010
Posts: 41
Topics: 9

PostPosted: Tue Aug 17, 2010 10:21 am    Post subject: Reply with quote

Hi Nic,

Thanks a for your clarification.

Rgds,
Puttu
Back to top
View user's profile Send private message Send e-mail
misi01
Advanced


Joined: 02 Dec 2002
Posts: 629
Topics: 176
Location: Stockholm, Sweden

PostPosted: Wed Aug 18, 2010 2:13 am    Post subject: Reply with quote

Just out of interest - WHY do you need the difference in milliseconds. Is it really relevant/important
_________________
Michael
Back to top
View user's profile Send private message Send e-mail
puttu
Beginner


Joined: 29 Jul 2010
Posts: 41
Topics: 9

PostPosted: Wed Aug 18, 2010 11:56 am    Post subject: Reply with quote

it's very important to me.... For that only i asked.
Back to top
View user's profile Send private message Send e-mail
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12376
Topics: 75
Location: San Jose

PostPosted: Wed Aug 18, 2010 12:05 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group