HP OpenVMS Systemsask the wizard |
The Question is:
We are converting COBOL programs from VAX OpenVMS 6.2 to ALPHA OpenVMS Version
7.2-1.
The following is happening and the program is crashing when it executes. We
are getting the following LINKing situation:
ALPHA2 > cob ub-884
ALPHA2 > link ub-884
%LINK-W-NUDFSYMS, 4 undefined symbols:
%LINK-I-UDFSYM, DCOB$CVT_I4_Q
%LINK-I-UDFSYM, DCOB$CVT_Q_I4
%LINK-I-UDFSYM, DCOB$EXPI4
%LINK-I-UDFSYM, DCOB$ROUNDI4
%LINK-W-USEUNDEF, undefined symbol DCOB$ROUNDI4 referenced
in psect $LINK$ offset %X000009A0
in module UB_884 file DEV_UB:[TEST]UB-884.OBJ;15
%LINK-W-USEUNDEF, undefined symbol DCOB$EXPI4 referenced
in psect $LINK$ offset %X00000F60
in module UB_884 file DEV_UB:[TEST]UB-884.OBJ;15
%LINK-W-USEUNDEF, undefined symbol DCOB$CVT_I4_Q referenced
in psect $LINK$ offset %X00000F70
in module UB_884 file DEV_UB:[TEST]UB-884.OBJ;15
%LINK-W-USEUNDEF, undefined symbol DCOB$CVT_Q_I4 referenced
in psect $LINK$ offset %X00000F80
in module UB_884 file DEV_UB:[TEST]UB-884.OBJ;15
And it is constantly crashing with the following in the program:
W-MAX-VOLUME-THIS-METER-PLUS-100000000
%COB-F-CALL_FAILED, call failed to find program
%TRACE-F-TRACEBACK, symbolic stack dump follows
image module routine line rel PC abs PC
DEC$COBRTL 0 0000000000000DB0 000000007C1A6DB0
DEC$COBRTL 0 000000000002A150 000000007C1D0150
DEC$COBRTL 0 0000000000029DA0 000000007C1CFDA0
----- above condition handler called with exception 0000000C:
%SYSTEM-F-ACCVIO, access violation, reason mask=00, virtual address=000000000000
0000, PC=0000000000000000, PS=0000001B
----- end of exception message
0 FFFFFFFF8008BC3C FFFFFFFF8008BC3C
0 0000000000000000 0000000000000000
UB-884 UB_884 UB_884 2769 0000000000003410 0000000000033410
UB-884 0 0000000000032AC0 0000000000042AC0
0 FFFFFFFF8FB2B3F4 FFFFFFFF8FB2B3F4
24-MAY-2001 09:58:33
Can you help me? Thanks much.
Mary Tipton, Systems Analyst
e-mail: mctipton@nwlink.com
Phone: (425)831-1569
The Answer is :
:ALPHA2$ link ub-884
:%LINK-W-NUDFSYMS, 4 undefined symbols:
:%LINK-I-UDFSYM, DCOB$CVT_I4_Q
:%LINK-I-UDFSYM, DCOB$CVT_Q_I4
:%LINK-I-UDFSYM, DCOB$EXPI4
:%LINK-I-UDFSYM, DCOB$ROUNDI4
You need to install the V2.6 or V2.7 COBOL RTL as detailed in the
COBOL release notes. It appears you have installed the V2.6 or V2.7
COBOL compiler, but you have not installed the V2.6 or V2.7 COBOL
RTL.
The V2.7 COBOL RTL is shipping today both with OpenVMS Alpha V7.3
and on the layered product CD-ROM. The V2.7 COBOL RTL can be
installed on OpenVMS Alpha V6.2 and higher.
|