View previous topic :: View next topic
|
Author |
Message |
mushreyas
New User
Joined: 18 Jul 2008 Posts: 59 Location: Bangalore
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
mushreyas
New User
Joined: 18 Jul 2008 Posts: 59 Location: Bangalore
|
|
|
|
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 |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
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 |
|
|
|