View previous topic :: View next topic
|
Author |
Message |
sriram1982
New User
Joined: 20 Nov 2009 Posts: 4 Location: India
|
|
|
|
In one of our programs, we are calling CEEDAYS to get the lilian date. The program is working fine all the Years except 2099. It is taking more than an hour and not resulting anything. A similar issue happening for 2199, but not for 1999.
Can any of you help me in this? |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello and welcome to the forum,
Please post the working-storage fields and procedural code that is used to call CEEDAYS. |
|
Back to top |
|
|
sriram1982
New User
Joined: 20 Nov 2009 Posts: 4 Location: India
|
|
|
|
This is what we are passing to call the procedure
CALL CEEDAYS USING '06022099' , 'MMDDYYYY' , lildate, fc.
Lildate and fc and are the output parameters. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
Lildate and fc and are the output parameters. |
How are these defined? |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
Back to top |
|
|
sriram1982
New User
Joined: 20 Nov 2009 Posts: 4 Location: India
|
|
|
|
i feel there is no errors in passing parameters or the syntax. I am trying to use a very common project which is used by many programs in our company and working fine all other years except for 2099 and 2199. i am just wondering if there is any limitation in using CEEDAYS |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
Review the links in Dick's posting and you'll immediately find your error.
Out of courtesy to other members as well as building your own knowledge base, please take the time to research questions before posting.
Nine times out of Ten, it's clearly documented.
The date ranges for the LE Callable Date routines are 14 October 1582 through 31 December 9999.
I'm confident your ranges are covered....
Bill |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
I just ran a program that converted 06222009 and 06222099 using CEEDAYS. Total time used was under a second elapsed. There is probably something about the way you're setting up and passing the data that is causing the loop. Unless you post the exact code and data definitions you are using (please use BBcode), there's not going to be much we can say.
Have you tried ZMZDYYYY for the date format? |
|
Back to top |
|
|
sriram1982
New User
Joined: 20 Nov 2009 Posts: 4 Location: India
|
|
|
|
Thanks for your responses! I will once again check the documentation to find out my error that causing this issue. |
|
Back to top |
|
|
|