12-13-2006 03:52 PM
We are moving our development code
(Pascal/Cobol) from MPE6.0 system to a MPE7.5 system. We are facing issues while compiling the code in MPE7.5 system. Only certain PASCAL programs are giving the compilation error.
**** ERROR # 1 HEAP INTEGRITY LOST / HEAP DATA LOST (PASCERR 608)
**** ERROR # 2 COMPILER ERROR 611, COMPILE TERMINATED (425)
... LINES PROCESSED = 818 ... PASCAL STATEMENT = 0 ...
NM* 0) SP=4185d070 RP=2b0.00050718 library_trap_handler+$268
NM 1) SP=4185cef0 RP=2b0.00043864 constequal+$720
export stub: 7a5.0034e86c P__PASCFERROR+$118
NM 2) SP=4185ce70 RP=7a5.0034eb90 P__PASCERROR+$3c
NM 3) SP=4185cb30 RP=7a5.00346040 support:P__HHHH_INTEGRITY_LOST+$54
NM 4) SP=4185c9f0 RP=7a5.003463e0 sss_space:P__GET_SR5_SPACE+$54
NM 5) SP=4185c9b0 RP=7a5.00348798 pm_hhhh:MH_NEW+$214
NM 6) SP=4185c970 RP=7a5.00345cc8 pm_hhhh:?MH_NEW+$8
export stub: 2b0.00089a9c searchforimport+$5a8
NM 7) SP=4185c770 RP=2b0.000854f4 appendimport+$1ec
NM 8) SP=4185c4b0 RP=2b0.0002299c appl9.applyprod991+$54
NM 9) SP=4185c370 RP=2b0.00023410 appl9.prodnum_cases_960_999+$2d0
NM a) SP=4185c2f0 RP=2b0.00023538 appl9+$78
NM b) SP=4185c270 RP=2b0.0009cf34 parser+$1d8
NM c) SP=4185c230 RP=2b0.00074278 PROGRAM+$8c
NM d) SP=4185c170 RP=2b0.00000000
(end of NM stack)
NUMBER OF ERRORS = 2 NUMBER OF WARNINGS = 0
PROCESSOR TIME 0: 0: 1 ELAPSED TIME 0: 0: 1
NUMBER OF LINES = 818 LINES/MINUTE = 41140.0
NUMBER OF NOTES = 0
run pascalxl.pub.sys; parm=7; info="set 'Xl=True'"
Program terminated in an error state. (CIERR 976)
##### Son process ended in an error state. Abort
**** Pascal Assert # 0 ****
Could you please let us know if any changes made in MPE7.5 with respect to PASCAL?
Thanks in advance,
12-14-2006 04:35 AM
12-18-2006 10:17 PM
Sorry for the delay. The program is out of heap space, you may need to run the program with MAXDATA=32000.
This problem has been seen with CM mode programs not NM. The program may have a mix mode CM program with the problem which is why it is suggested the MAXDATA. If the program is only NM then run it with NMHEAP=15000000 may help. Be aware there is no HEAP parm for CM programs.
This will provide with HEAP and STACK information if the program is NM; if CM program well, you may need to look at recompiling the program to NM.