cancel
Showing results for 
Search instead for 
Did you mean: 

DB2 on hp-ux

Jimmy_13
Advisor

DB2 on hp-ux

I have db2 7.2 and microfocus cobol on hp-ux 11.i.
How i set the db2 for the precompiler of cobol works?
Is there a file of configuration?

Thanks
2 REPLIES
Alex Glennie
Honored Contributor

Re: DB2 on hp-ux

http://supportline.microfocus.com/documentation/books/sx2011sp1/dbpubb.htm

Chapter 8:DB2 .... ?

or do you have a specific error ?
Jimmy_13
Advisor

Re: DB2 on hp-ux

After of execute: cob -u programname.cbl
75 EXEC SQL
* 71-S********
** PROCEDURE DIVISION missing or unknown statement
150 EXEC SQL
* 9-S********
** '.' missing
154 MOVE SQLCODE TO WS-SQLCODE.
* 12-S****************
** Operand SQLCODE is not declared
155 IF SQLCODE NOT = ZEROS
* 12-S**************
** Operand SQLCODE is not declared
cob: error(s) in compilation: connecto.cbl

Where is defined the sql directive?

Thanks