05-23-2012 12:52 PM
Somebody please can supply me a Cobol example program using OpenVMS RDB routines, of Oracle SQL/ Services Client API. Our programmers have strong knowhow in Cobol language but not in C.
05-23-2012 01:11 PM
Looks like really good places to start. I'd also recommend Google-ing for your query. Sorry about the second URL if it doesn't link correctly...
05-23-2012 08:10 PM
Assuming you are using Cobol on OpenVMS and without knowing more of your environment, I would suggest using SQL Module Language to access the Rdb databases. This is well documented in the Rdb manuals. You basically write all of the sql in the sql module file, compile it using the supplied compiler (which comes with Rdb), and then call the sql routines from your Cobol program.
There (normally) are also example programs installed in SYS$COMMON:[SYSHLP.EXAMPLES.RDB72] or whatever version of Rdb you are using when the product is installed.