View previous topic :: View next topic |
Author |
Message |
shootingstar Beginner
Joined: 19 Sep 2004 Posts: 14 Topics: 11 Location: Dallas, TX
|
Posted: Thu Jan 06, 2005 12:38 am Post subject: |
|
|
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 |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
Posted: Thu Jan 06, 2005 6:13 am Post subject: |
|
|
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 |
|
|
|
|