Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Call CEEDATE and CEEDAYS from a CICS program

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: Call CEEDATE and CEEDAYS from a CICS program
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: 2150
Location: At my coffee table

PostPosted: Fri Mar 05, 2010 11:03 pm    Post subject: Re: Call CEEDATE and CEEDAYS from a CICS program
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    Post subject:
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

Site Director


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

PostPosted: Fri Mar 05, 2010 11:16 pm    Post subject:
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: 2150
Location: At my coffee table

PostPosted: Fri Mar 05, 2010 11:53 pm    Post subject:
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    Post subject:
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: 8117
Location: East Dubuque, Illinois, USA

PostPosted: Sun Mar 07, 2010 6:13 am    Post subject:
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: 2502
Location: Atlanta, Georgia, USA

PostPosted: Sun Mar 07, 2010 7:58 pm    Post subject: Reply to: Call CEEDATE and CEEDAYS from a CICS program
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    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm
No new posts How to Clear all TSQs during CICS sta... Hooman24 CICS 10 Mon Jun 26, 2017 9:46 pm
No new posts pre-compiler for program in an HFS Pedro DB2 0 Fri Jun 23, 2017 11:13 pm
No new posts CICS Transaction attach count of supp... lind sh CICS 1 Wed Jun 21, 2017 1:33 pm
No new posts Compiling program in endeavor for tra... RALAKKAL Compuware & Other Tools 4 Mon Jun 05, 2017 8:27 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us