|cobol + oracle [message #469413]
||Tue, 12 December 2006 11:28
Originally posted by: aventas.itdeusto.com|
I have running a project with cobol+db2 in websphere that is based on
It was easy: I opened a project of type COBOL after that I embedded the
sql instructions of DB2 and the only thing I must do is to include one
line in "project properties" --> "compilation options" --> "sql('database
BE user db2admin using admin DATETIME ISO')".
But now I have a project where I need to use ORACLE embedded in COBOL and
I canŽt be able to compile a program in COBOL with ORACLE. I try something
like DB2 but it doesnŽt work.
1.I fill the compilation option with the name of the oracle database and
it shows an error of precompilation as if it only search DB2 databases.
2. There is another option ("properties --> new connection") to stablish
connection to databases distinct to DB2 with jdbc, I declare the
"ojdbc14.jar" and the name of my database in oracle and websphere
recognize it and bring it into the project and I can see the contents of
the tables. It looks fine but I only see them in the view of "data" but I
canŽt access it by the program sentences. I must need some precompilation
option for Oracle that I donŽt know.
If someone can run COBOL with ORACLE in ECLIPSE I would appreciate some
Powered by FUDForum
. Page generated in 0.03323 seconds