From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,c9355f61e2182b8e X-Google-Attributes: gid103376,public From: "Matthew Heaney" Subject: Re: Gnat & Linux & Ada & DB2 Date: 1999/11/02 Message-ID: <381efa78_3@news1.prserv.net>#1/1 X-Deja-AN: 543525144 Distribution: world Content-transfer-encoding: 7bit References: Content-Type: text/plain; charset="US-ASCII" X-Complaints-To: abuse@prserv.net X-Trace: 2 Nov 1999 14:51:36 GMT, 32.101.8.137 Organization: Global Network Services - Remote Access Mail & News Services Mime-version: 1.0 Newsgroups: comp.lang.ada Date: 1999-11-02T00:00:00+00:00 List-Id: In article , "Chris Miller" wrote: > I have just received the free IBM evaluation DB2 for Linux CD and was > wondering what would be involved in calling DB2 from Gnat Ada. > > I know there have been previous attempts to provide bindings / preprocessors > to SQL from Ada but these seem quite old (?). What is the current position > ?. Has anyone else got DB2 and Ada to talk to each other ?. I haven't used DB2, so I can't help you in that department. However, if you're in need of persistent storage for items that you can read and write according to an arbitrary key, then one alternative is to use an indexed I/O file. The indexed I/O packages should be portable across all compilers. It's probably not as slick as a real database, but the price is right. Matt -- Creationists attempt to draw a line between evolutionary biology and the rest of science by remarking that large-scale evolution cannot be observed. This tactic fails. Large-scale evolution is no more inaccessible to observation than nuclear reactions or the molecular composition of water. Abusing Science: The Case Against Creationism Philip Kitcher