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

Heap clear after calling CEEDSHP a Language Environment modu


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

New User


Joined: 18 Jul 2008
Posts: 59
Location: Bangalore

PostPosted: Tue Jan 24, 2012 9:25 pm
Reply with quote

Hi,

Am not sure where to post this topic. Am facing a issue while clearing the Heap allocated in Calling Module. Calling Module will allocate the heap and the pointer to the input response. Called module will access this pointer and hence the Input response. Aftee processing the input data the called module will Heap clear modules CEEFRST and CEEDSHP. Call to CEEDSHP is resulting in error with message lookup code as +803 and severity 3 with function code as CEE. Can anyone help me with this Language Environment problem. It would be helpfull if anybody provides me with the supporting document.

Thanks,
Shreyas
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: Tue Jan 24, 2012 9:34 pm
Reply with quote

How about the LE Bookshelf at the IBM website?

You didn't exactly provide much information, did you? How was the heap created? How are you ensuring the heap is eligible to be deleted in your subprogram?
Back to top
View user's profile Send private message
mushreyas

New User


Joined: 18 Jul 2008
Posts: 59
Location: Bangalore

PostPosted: Wed Jan 25, 2012 6:54 am
Reply with quote

Hi Bob,

Thanks for the document. I think i found out the mistake. We need to pass Heap ID while calling CEEDSHP and not Heap pointer. Message code 803 indicates that it is unable to to identify the Heap ID passed.


Code Severity Message number Message text
CEE000 0 — The service completed successfully.
CEE0P2 4 0802 Heap storage control information was damaged.
CEE0P3 3 0803 The heap identifier in a get storage request or a discard heap request was unrecognized.
CEE0PC 3 0812 An invalid attempt to discard the Initial Heap was made.

Once again thanks for the docs.
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: Wed Jan 25, 2012 7:06 am
Reply with quote

Can I ask; Why don't you issue a CICS GETMAIN (not Shared) with FLENGTH and INITIMG? Then, you can pass the pointer around and reuse the storage, providing the task has not terminated. Also, an implicit FREEMAIN is issued by CICS at task termination.

Just curious....

Mr. 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 Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
No new posts Calling Java method from batch COBOL ... COBOL Programming 5
No new posts Calling an Open C library function in... CICS 1
No new posts Need COBOL COPY Help in MVS Environment COBOL Programming 4
No new posts calling a JCl inside a JCL JCL & VSAM 3
Search our Forums:

Back to Top