|
From: David E. <de...@us...> - 2005-07-06 06:37:19
|
nikil chakravarthy wrote: > I am newbie for tinyCOBOL development. I am struggling > with finding information about tinyCOBOL with DB2 > database access. Can somebody let me know whether it > is possible to connect to DB2 from tinyCOBOL and send > me some URL's and resources. Your help is very much > appreciated. Looking forward for positive response. TC does not have an SQL pre-processor, thus you can only access any SQL database using the native API, and not using embedded SQL. If DB2 includes an SQL pre-processor for COBOL, and I think it does, the following may (or may not) work. Pass the embedded SQL COBOL program thru the DB2 SQL pre-processor for COBOL. And then using TC, compile it's output adding the appropriate DB2 library(s) in the link step. |