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 

Problem with 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 Mar 09, 2006 2:09 pm    Post subject: Problem with CEESECS Reply with quote

I am using CEESECS to calculate the duration of a process as follows:;

At the begining of the process I get a timestamp from DB2 (SELECT CURRENT TIMESTAMP).

At the end of the process I get another timestamp from DB2.

I then call CEESECS with the two timestamps in order to get the duration of the process.

My program executes 2000 to 3000 times a day and the vast majority of the time there are no problems. Occasionally I get a return from CEESECS indicating I have passed it an invalid timestamp. Since the code runs correctly more than 99% of the time, I am suspicious of CEESECS possibly having some reentrancy issues (I can have multiple jobs running simultaneously).

The environment is Z/OS, DB2 V7, and Enterprise COBOL version 3.3.1.

Any thoughts?

Thanks
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


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

PostPosted: Thu Mar 09, 2006 3:02 pm    Post subject: Reply with quote

Shooting star,

Check if this case applies to your problem. It discusses about CEEDAYS but I guess it applies all Language environment modules.

http://www.mvsforums.com/helpboards/viewtopic.php?p=28764#28764

Hope this helps...

Cheers

Kolusu
_________________
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