Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!rice!uw-beaver!zephyr.ens.tek.com!tektronix!sequent!mac From: mac@sequent.UUCP (Cormac Burke) Newsgroups: comp.databases Subject: Re: SYBASE, APT-SQL-code and C-code application Keywords: SYBASE, APT-SQL, 3-GL, C Message-ID: <47088@sequent.UUCP> Date: 21 Nov 90 20:20:03 GMT References: <1990Nov21.145856.12187@ericsson.se> Reply-To: mac@sequent.UUCP (Cormac Burke) Organization: Sequent Computer Systems, Inc Lines: 19 In article <1990Nov21.145856.12187@ericsson.se> etxenke@juno20.ericsson.se (Andrei Lenkei TM/JU 95712) writes: > >I'm interested in adding 3-GL code (C) to a SYBASE application in a SIMPLE way. >I have consulted the manuals but they weren't very helpfull (at least I >couldn't make much sense out of them). They talk about a `Generic main routine' >but that seems to be an example of 3-GL (something they call SYB_C) with >APT-SQL calls. It seems as a very complicated way of doing what I want which >is: > I seem to recall that in order to do what you want to do, you have to create a 3GL progam to CALL apt, and this is what allows you to link in some other 3GL routine that you call from an APT procedure. In $SYBASE/sample/aptforms there is an example of this, including an example of the generic main routine (gen_main.c). For further information I suggest calling Sybase Tech Support, they probably have additional information on precisely this problem. Cormac Burke Sequent Computer Systems