On 07-10-97 21:35, waiting for 22, Darin Mcbride said:
-=> 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
DM> Now somehow I think that's rather, um, old. :-) DB2 won't even
DM> upgrade from that anymore, AFAIK.
Well, yes, I know it's rather old. Our shop is very behind the times.
We (well, they, I've been there less than a year) have only been using
VS COBOL II for a few years, and that's been around since the mid-80s.
Most of the (big) programs are from the early 80's and are still in
OS/VS COBOL, which is from the 70's, and a lot of the programs use the
'68 standard!
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?
DM> 1. SQL is a language spec, not a database (although MS likes to call
DM> theirs "SQL" [as in SQLServer]).
DM> 2. DB2 understands SQL, as do most major databases. However, the SQL
DM> itself is not actually really used inside C (although you can embed it
DM> and use a preprocessor to create valid C/C++ statements from your SQL
DM> code).
DM> If you get DB2, you'll get sample code in C, REXX, and others (can't
DM> recall offhand). If you want more information, I'm sure I could find
DM> it...
Yeah, I read a little about DB2 in a book at work (one of the PC
programmers bought it!), so I know that SQL is not a database itself.
And I realize that you use a preprocessor to create valid C (or
whatever statements). I was just wondering about the software. How
much does it cost? Which is the best? (Heh)
FS> BTW, at this point I have Borland C++ 3.1 and I *don't* have Windows!
FS> Soon, though...
DM> I don't know of anyone providing libraries for a compiler that old...
DM> :-)
DM> [Disclaimer: Just 'cuz I'm on the DB2 team doesn't mean I speak for
DM> 'em.]
Were you serious or kidding about the BC++ 3.1? Can you use it with
DB2 or not?
Frank
... "Peace -- through superior firepower."
___ Blue Wave/QWK v2.12
--- Shotgun v1.38a
---------------
* Origin: The Mars Hotel 1-303-360-6626 (FidoNet) (1:104/520)
|