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 Error in the COBOL module triggered thru Natural adabas

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Java & MQSeries
View previous topic :: :: View next topic  
Author Message
sivak2

New User


Joined: 11 Jan 2006
Posts: 1

PostPosted: Wed Jan 11, 2006 11:11 am    Post subject: Heap Error in the COBOL module triggered thru Natural adabas
Reply with quote

I am facing an Abend in the COBOL module which is triggered through a Natural program which is inturn triggered by a web module.

Technology:
--------------
Web/Natural/COBOL

Code Flow:
-------------
From Web --> Natural --> COBOL program A(transaction trigger) --> COBOL program B --> COBOL programs C and D

All are background modules and are triggered by the transaction.

Issue:
-------
The cobol program B abends with the following dump:

CEE3703I In HANC Control Block, the Eye Catcher is damaged. CEE3704I Expected data at 21FF1000: HANC.

21FF0FE0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 |................................|
21FF1000: C8C1D5C3 001BE000 00189C10 00000000 21FF1000 21FF12D0 00008000 00007D30 |HANC..........................'.|

CEE0802C Heap storage control information was damaged.

Analysis description:
-----------------------
1) Before getting this issue, there was a NAT0954 error in Natural which is fixed by using CALLNAT to a dummy program with a huge data area, the 954 error does not occur (heap error will still happen).
The dummy program is given below:
-----------------------------------------------
PARAMETER
1 #BOGUS-FIELD (A100)
1 #FILLER (A30)
*
LOCAL
1 #BIG-ONE (A500000)
END-DEFINE
RESET #BIG-ONE #BOGUS-FIELD #FILLER
END
----------------------------------------------
Even if we reduced the #BIG-ONE to 50000, the program still failed with 954.
I believe the heap error is in someway related to the natural error (NAT0954).

2)I have already checked the called/calling parameters. The linkage doesn?t have any issues.

3) When we comment the call to the program C, it fails in the second call to the program D.

I have not come across such HEAP ERRORS before. Please suggest me a solution if some one has experienced this previously.
Back to top
View user's profile Send private message

naveen_desireddy

New User


Joined: 29 Aug 2005
Posts: 10
Location: Hyderabad, India

PostPosted: Tue Jan 17, 2006 1:14 pm    Post subject:
Reply with quote

Hi,

I Have not faced such Problem Earlier but I can suggest u that If U have 'SMARTTEST' tool U can debug the Cobol modules so that U can come to know where it gets abend


Rgds,
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 -> Java & MQSeries All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Cobol GUI (like Editor) Kala Mainframe COBOL Programming 14 Wed May 10, 2017 12:30 pm
No new posts IMS T-Pipe queue counts in a COBOL Pr... Siva NKK Kothamasu IMS DB/DC 0 Tue May 09, 2017 6:31 pm
No new posts Dump analysis of an assembler module monica1 PL/I & Assembler 4 Tue May 09, 2017 10:05 am
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts COBOL Code Parsers and Lineage Establ... balimanja COBOL Programming 2 Tue May 02, 2017 3:30 am


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