Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Embedding SQL in Cobol 1

Status
Not open for further replies.

Pootytaint

Programmer
Jan 14, 2005
13
0
0
US
I have been programming Cobol for a while, but have never used embedded sql in Cobol and am fairly new to SQL. The company I work for now is using a middleware to go in between MF Cobol and Oracle and are wanting to get rid of the middleware and embed SQL or PL/SQL in the code. DOes anyone have any examples or know where I can see actual examples of this?
 
Thanks, I have a 500 page .pdf, I guess I was looking for better examples, or maybe I can paste some code and see an exampl eof how to fix it. I just need to get the ball rolling. I appreciate your help.
 
Give a look and eventially try ProCobol from Oracle.
You must have it from oracle installation.
Look for a programm called procob.exe or procob??.exe or something similar.
You do not need to use ODBC.
Its manual contain all examples you need.
 
Only commercial RDBM's come with a COBOL-pre-processor. The ones I know:
- DB2 (not only mainframe, also OS2,windows,unix/linux)
- sybase
- oracle
- adabas-D

NetExpress4 (the IDE of Micro Focus) comes with XDB. This is a mainframe DB2 look-alike.

The open-source re-incarnation of adabas-D, MaxDB, dropped the COBOL-pre-compiler :-(
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top