Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
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