IBM MAINFRAME HELP & SUPPORT FORUMS
Technical Forums for IBM Mainframe Applications like COBOL, JCL, CICS, DB2, FileAid, DFSORT, Endevor, Xpediter, CoolGen, CA-7&11, AbendAid, IMS, IDMS, PL/I, MqSeries, SyncSort, Assembler, ChangeMan, Easytrieve, InterTest, REXX, CLIST etc...
 

Heap Error in the COBOL module triggered thru Natural adabas

THIS IS AN ARCHIVE FORUM: CLICK HERE TO GO TO THE ORIGINAL TOPIC

 
       IBMMAINFRAMES.com - IBM Mainframe Support Forums Index -> NATURAL & MQSERIES
View previous topic :: View next topic  
Author Message
sivak2



Joined: 11 Jan 2006
Posts: 1

Posted: Wed Jan 11, 2006 11:11 am    Post subject: Heap Error in the COBOL module triggered thru Natural adabas  

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  
naveen_desireddy



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

Posted: Tue Jan 17, 2006 1:14 pm    Post subject:  

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  
 
       IBMMAINFRAMES.com - IBM Mainframe Support Forums Index -> NATURAL & MQSERIES
Page 1 of 1
THIS IS AN ARCIVE FORUM IN READ ONLY MODE. IF YOU WANT TO ASK YOUR DOUBTS USE THE ACTUAL FORUM