MPE 7.5 - failing PASCAL program compilation (166 Views)
Reply
Frequent Advisor
sathis kumar
Posts: 56
Registered: ‎08-21-2006
Message 1 of 3 (166 Views)

MPE 7.5 - failing PASCAL program compilation

Hello,

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:

MODULE: WWV0051O
OUTER BLOCK
**** ERROR # 1 HEAP INTEGRITY LOST / HEAP DATA LOST (PASCERR 608)
MODULE: WWV0051O
OUTER BLOCK
**** ERROR # 2 COMPILER ERROR 611, COMPILE TERMINATED (425)
... LINES PROCESSED = 818 ... PASCAL STATEMENT = 0 ...
PC=2b0.0004dff8 stack_trace+$80
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,
Sathish
Please use plain text.
Esteemed Contributor
Dan Clifford
Posts: 201
Registered: ‎03-25-1998
Message 2 of 3 (166 Views)

Re: MPE 7.5 - failing PASCAL program compilation

Have you checked the stack and heap configurations on the 6.0 system and compared them to the 7.5 system? Go into sysgen and look at the values under MISC.
Please use plain text.
Honored Contributor
Kwan Fong, Emile
Posts: 1,162
Registered: ‎07-10-2000
Message 3 of 3 (166 Views)

Re: MPE 7.5 - failing PASCAL program compilation

Hello Sathish,

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.

Do :VERSION

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.
King is the customer!
Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation