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
 

 

Heap clear after calling CEEDSHP a Language Environment modu

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: Heap clear after calling CEEDSHP a Language Environment modu
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: 8002
Location: Bellevue, IA

PostPosted: Tue Jan 24, 2012 9:34 pm    Post subject:
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    Post subject: Reply to: Heap clear after calling CEEDSHP a Language Enviro
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: 2502
Location: Atlanta, Georgia, USA

PostPosted: Wed Jan 25, 2012 7:06 am    Post subject: Reply to: Heap clear after calling CEEDSHP a Language Enviro
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    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 Calling procedure with multiple entri... steve-myers PL/I & Assembler 5 Fri Jan 27, 2017 3:33 pm
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts Need Help in understanding what is th... mainakdalal PL/I & Assembler 9 Mon Oct 03, 2016 8:03 pm
No new posts "DFSRRC00 vs IKJEFT01" for ... arunsoods All Other Mainframe Topics 5 Fri Aug 12, 2016 9:54 pm
No new posts Any body aware of CAP-COBOL language? Sachin Raghuwanshi COBOL Programming 4 Tue Aug 02, 2016 9:34 am


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