Operating System - OpenVMS
1828215 Members
2279 Online
109975 Solutions
New Discussion

UNDFSYMS, Undefined symbol while linking COBOL Prog.

 
SOLVED
Go to solution
Mahmoud_1
Frequent Advisor

UNDFSYMS, Undefined symbol while linking COBOL Prog.

Dear All,
I have a customer want me to upgrade the Cobol compiler, after upgrading the COBOL to ver 2.8, they want to test the upgrade , found all is ok except the link utility, all link process have the Warning UNDFSYMS, 1 Undefined symbol.
OpenVMS vers 8.2

Please advice
Mahmoud
12 REPLIES 12
Karl Rohwedder
Honored Contributor

Re: UNDFSYMS, Undefined symbol while linking COBOL Prog.

Mahmoud,

did you install both the COBOL compiler and the associate COBRTL kit?

regards Kalle
David B Sneddon
Honored Contributor

Re: UNDFSYMS, Undefined symbol while linking COBOL Prog.

Mahmoud,

Can you show the EXACT command and the resulting
output?

Dave
Mahmoud_1
Frequent Advisor

Re: UNDFSYMS, Undefined symbol while linking COBOL Prog.

Dear All,
I install the Compiler, and when I installed the COBRTL I have the message "Image version in target is higher than the Image version on CD"

Regards
David B Sneddon
Honored Contributor

Re: UNDFSYMS, Undefined symbol while linking COBOL Prog.

Mahmoud,

You have *ONE* undefined symbol (from your first
message). What is it? What is the command and
resulting output?

Dave
Mahmoud_1
Frequent Advisor

Re: UNDFSYMS, Undefined symbol while linking COBOL Prog.

Dear All,

Customer sent me the exact message and the LINK Commands.
Please Find attached file
Regards
Mahmoud
David B Sneddon
Honored Contributor

Re: UNDFSYMS, Undefined symbol while linking COBOL Prog.

Can you possibly provide the data in a format that
is more VMS-friendly? I am at work and my desktop
is a VMS box...

Dave
Karl Rohwedder
Honored Contributor
Solution

Re: UNDFSYMS, Undefined symbol while linking COBOL Prog.

The releasenotes state, that a missing DCOB* symbol in LINK may indicate a missing COBRTL.
Did you install the right version of COBRTL? There are 2 versions (670A and 670B, for V8.2 of VMS the B version would by right.

regards Kalle
Mahmoud_1
Frequent Advisor

Re: UNDFSYMS, Undefined symbol while linking COBOL Prog.

Dear All,
Thanks for all,
I'm out of office, tomorrow I'll go to customer, to uninstall COBOL then install COBOL with product B from CD.
Please provide me with any suggestions
Thanks for your patience

Mahmoud
Mahmoud_1
Frequent Advisor

Re: UNDFSYMS, Undefined symbol while linking COBOL Prog.

Dear All,
I tried to remove & install the COBOL and the COBRTL as in the attached file please advice.

Note:
All Kits in the directory related to COBOL are from the same CD.
Regards
Mahmoud
Volker Halle
Honored Contributor

Re: UNDFSYMS, Undefined symbol while linking COBOL Prog.

Mahmound,

this problem has been discussed in ITRC before, please see:

http://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=963687

The weak references are probably application-specific. It's just DCOB$IMAGE_INIT, which is the problem.

Volker.
Mahmoud_1
Frequent Advisor

Re: UNDFSYMS, Undefined symbol while linking COBOL Prog.

Dear All.
I tried to install the last version 2.8 using the last CD_rom kit issued on apr,2006, but I faced same problem.
I tried to remove the Module cob_image_init from sys$library:starlet.olb and uninstall the COBOL, problem still there.
If I didn't have clear sys$library:starlet.olb to extract the module from it and apply it on the current library what I have to do ?????.
Regards
Mahmoud
Mahmoud_1
Frequent Advisor

Re: UNDFSYMS, Undefined symbol while linking COBOL Prog.

Thanks for all who tried to help but problem still so,I initiate a new thread with new question.
Please if any can help in the new thread.
Regards
Mahmoud