Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!sunybcs!leo From: leo@sunybcs.UUCP (Leo Wilson) Newsgroups: net.database Subject: WANTED: Info on dbfind usage (Informix) Message-ID: <459@sunybcs.UUCP> Date: Tue, 22-Jul-86 09:41:53 EDT Article-I.D.: sunybcs.459 Posted: Tue Jul 22 09:41:53 1986 Date-Received: Wed, 23-Jul-86 09:14:52 EDT Reply-To: leo@sunybcs.UUCP (Leo Wilson) Distribution: na Organization: guest at SUNY/Buffalo Computer Science Lines: 29 Keywords: Informix ALL, dbfind I just bought a copy of Informix v3.11 for my Altos 68000 and am having a problem with the dbfind function in the C application language library. It doesn't seem to work at all. What I am trying to do is write a small & simple interactive program that checks a file for the existance of a primary key, (type long) writes the key to a text file if it isn't found, and prompts for another value. Sounds simple enough, but it isn't working. I have to be doing something wrong. The examples in the manual really seem insufficient, having only coverage of one-shot string comparisons. This is pretty unsat. Why would anyone go to the trouble of using an application language interface for a one-shot query? Has anyone out there got a C program that does what I am trying to do that I might look at and use as an example? Better yet, is there any kind of book available in English that I might get some useful information from about Informix's ALL? Thanks in advance for any help anyone might give. -Leo -- Leo E. Wilson(leo@buffalo.csnet) Niagara Paper Company 364 West Delavan Avenue 99 Bud-Mil Drive Buffalo, NY 14213 Buffalo, NY 14206 (716)883-7573 (716)856-5135 (0830-1700) UUCP:...![bbncca,decvax,dual,rocksanne,rocksvax,watmath]!sunybcs!leo