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 

Error in CEESECS

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


Joined: 19 Sep 2004
Posts: 14
Topics: 11
Location: Dallas, TX

PostPosted: Thu Jan 06, 2005 12:38 am    Post subject: Reply with quote

Kolusu
I am using the CEESECS routine to get the difference between 2 timestamps. Most of the time it works, but occasionally I get a 2518 error - which implies an invalid timestamp string. The timestamp in question comes directly from an SQL GET CURRENT TIMESTAMP. The error message description in the manual implies a possible multi-thread problem but isn't very clear. I have as many as 4 jobs running concurrently, each with the code to calculate the difference as above. The environment is Z/OS. Any ideas?
Thanks
PS: Here is the timestamp string: 2005-01-05-12.54.50.816507
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


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

PostPosted: Thu Jan 06, 2005 6:13 am    Post subject: Reply with quote

shootingstar,

Quote:

Most of the time it works, but occasionally I get a 2518 error - which implies an invalid timestamp string.


Are you passing the right timestamp format everytime? Just make sure the Current timestamp from DB2 matches with format string you trying to pass to the routine.

Hope this helps...

Cheers

Kolusu

PS: I moved this topic from the Mainframe challenge forum, since that forum is used exclusively for challenge
_________________
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