IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Call CEEDATE and CEEDAYS from a CICS program


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
krk_kumar1

New User


Joined: 14 Mar 2006
Posts: 39

PostPosted: Fri Mar 05, 2010 10:52 pm
Reply with quote

Hi,
I need to use the CEEDAYS and CEEDATES IBM date routines to convert the date.when i try to call from my CICS program as shown below th call fails with 4038(the abend 4038 is due to your COBOL application dynamically calling a module that is not available). I'am sure that its available since there are programs which uses this routine.

Code:
CALL CEEDAYS          USING WS-CCYYMMDD-DATE ,
                                 WS-PICSTR ,       
                                 WS-LILIAN ,       
                                 OMITTED           


has anyone faced this scenario before?
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Fri Mar 05, 2010 11:03 pm
Reply with quote

krk_kumar1 wrote:
I'am sure that its available since there are programs which uses this routine.
Are those programs also CICS programs?
Have they been compiled and linked under the same process?
Back to top
View user's profile Send private message
krk_kumar1

New User


Joined: 14 Mar 2006
Posts: 39

PostPosted: Fri Mar 05, 2010 11:11 pm
Reply with quote

Thanks for the quick reply CICS guy.i'am not sure how CEEDAYS and CEEDATES are compiled and linked because they are IBM provided routines i don't have any control over them with respect to compile.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Mar 05, 2010 11:16 pm
Reply with quote

Hello,

Possibly some additional library is needed in the load library concatenation?
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Fri Mar 05, 2010 11:53 pm
Reply with quote

krk_kumar1 wrote:
Thanks for the quick reply CICS guy.i'am not sure how CEEDAYS and CEEDATES are compiled and linked because they are IBM provided routines i don't have any control over them with respect to compile.
It doesn't matter how they were compiled and linked......
Me wrote:
Are those programs also CICS programs?
the programs that
you wrote:
there are programs which uses this routine

Me wrote:
Have they been compiled and linked under the same process?
'They' being
you wrote:
there are programs which uses this routine
Back to top
View user's profile Send private message
Earl Haigh

Active User


Joined: 25 Jul 2006
Posts: 475

PostPosted: Sun Mar 07, 2010 4:37 am
Reply with quote

Since you say other programs in your environment uses these,
here is a hint'

WHY NOT ASK SOME OF YOUR CO-WORKERS, OR PERHAPS
A CALL TO YOUR CICS TECHNICAL SUPPORT ?
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Sun Mar 07, 2010 6:13 am
Reply with quote

Quote:
i'am not sure how CEEDAYS and CEEDATES are compiled and linked because they are IBM provided routines i don't have any control over them with respect to compile.
And you don't need to know if your site approved method for accessing them is appropriate -- they will be available if the site support group has their libraries placed in the region.
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Sun Mar 07, 2010 7:58 pm
Reply with quote

Calling both of these LE Callable Service routines (as well as most others), requires the 4th parm be present (the 12-Byte Feedback-Area) in the parmlist, because upon return, you need to test the first 2-Bytes and determine whether the call was successful (X'0000') or not.

Do not omit this parm.

Bill
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts Calling an Open C library function in... CICS 1
No new posts How to 'Ping' a CICS region in JCL CICS 2
No new posts Parallelization in CICS to reduce res... CICS 4
No new posts DB2 Event passed to the Application P... DB2 1
Search our Forums:

Back to Top