Oracle Pro*COBOL source program compiled with Visual Cobol Eclipse

Thanks in advance.

 

I am testing Visual Cobol for Eclipse editing an Oracle Pro*COBOL named “Program1.cbl”. At the end of the linker step the Program1.exe is not generated due to a fatal error LNK1120 for 3 unresolved externals symbols: ORASQL8, SQLADR and SQLBEX. The following is the log of the process generated at CMD DOS.

 

C:\cobol>cobol Program1.cs9 /LITLINK /MAKESYN"COMP-5"="COMP";

Micro Focus COBOL

Version 2.2.00244 Copyright (C) Micro Focus 1984-2013. All rights reserved.

* Checking complete with no errors - starting code generation

* Generating Program1

* Data:        1400     Code:        2016     Literals:         848

 

C:\cobol>cbllink Program1.obj C:\app\oracle12c\product\12.1.0\dbhome_1\precomp\LIB\orasql12.lib

Micro Focus COBOL - CBLLINK utility

Version 2.2.0.93 Copyright (C) Micro Focus 1984-2013. All rights reserved.

 

Microsoft (R) Incremental Linker Version 10.00.40219.01

Copyright (C) Microsoft Corporation.  All rights reserved.

 

Program1.obj

cbllds0000219C.obj

   Creating library Program1.lib and object Program1.exp

Program1.obj : error LNK2001: unresolved external symbol _ORASQL8

Program1.obj : error LNK2001: unresolved external symbol _SQLADR

Program1.obj : error LNK2001: unresolved external symbol _SQLBEX

Program1.exe : fatal error LNK1120: 3 unresolved externals