TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: FRANK SWARBRICK
from: DARIN MCBRIDE
date: 1997-07-10 21:35:00
subject: database stuff

 -=> Quoting Frank Swarbrick to All
 FS> Anyway, I do COBOL mainframe (IBM) programming.  We use a database
 FS> system called DL/I (Data Language I).  Now, getting to the point, you
Now somehow I think that's rather, um, old.  :-)  DB2 won't even upgrade from
that anymore, AFAIK.
 FS> program everything in COBOL and use calls to DL/I to access the
 FS> database. My question is, are there similar things available for PC's
 FS> using (hopefully) C++?  With COBOL on the mainframe you can also use
 FS> SQL/DB2 as a database instead of DL/I (though we don't have DB2 at
 FS> work), and SQL seems to be fairly common in the PC world, but I don't
 FS> know how to interact with it using C++.  What software do I need?
1. SQL is a language spec, not a database (although MS likes to call theirs
"SQL" [as in SQLServer]).
2. DB2 understands SQL, as do most major databases.  However, the SQL itself
is not actually really used inside C (although you can embed it and use a
preprocessor to create valid C/C++ statements from your SQL code).
If you get DB2, you'll get sample code in C, REXX, and others (can't recall
offhand).  If you want more information, I'm sure I could find it...
 FS> BTW, at this point I have Borland C++ 3.1 and I *don't* have Windows!
 FS> Soon, though...
I don't know of anyone providing libraries for a compiler that old... :-)
[Disclaimer: Just 'cuz I'm on the DB2 team doesn't mean I speak for 'em.]
... I think therefore I'm Confused!!!
--- FastEcho 1.46
---------------
* Origin: House of Fire BBS - Toronto - (416)601-0085 - v.34 (1:250/536)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.