Path: utzoo!attcan!uunet!tut.cis.ohio-state.edu!pt.cs.cmu.edu!andrew.cmu.edu!bg0l+ From: bg0l+@andrew.cmu.edu (Bruce E. Golightly) Newsgroups: comp.databases Subject: Re: QUERY INGRES C/PROCEDURES Message-ID: <8YsMAxy00WB28B7YAu@andrew.cmu.edu> Date: 10 Aug 89 13:29:33 GMT Organization: Carnegie Mellon, Pittsburgh, PA Lines: 12 Actually, similar problems occur in any I/O type operation, and are NOT due to a real conflict between ABF and C. It turns out that ABF ignores the declaration of LNK$LIBRARY in building an executbale. The solution is to define ING_ABFOPT1 as pointing to a file which contains the line SYS$LIBRARY:VAXCRTL.OLB/LIB. This assumes VMS 4.7 or later and VAX C 3.x. This is very poorly documented in the ABF manual. It wasn't until I left SET VERIFY on by accident that I got a handle on where the problem really was. I can't promise that this is a solution. We have not had occassion to do "real" I/O from inside ABF using C. It did, however, resolve problems related to attempts to use sprintf.