🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.programmer
Article #3183

Re: C compiler Error on EXEC SQL

#3183
From: Guy Dallaire
Date: Thu, 18 Apr 1996 01:10
23 lines
1254 bytes
dpncc@utah.state.ut.us (NCC Network) wrote:


>Hi

>I post this for my friend who has no access to the internet and would like to
>get help from C experts in the Net. She has a C program left over from a guy
>left the company. The C source code is included below as well as the compiler
>error generated by HP UNIX. What is the EXEC SQL instruction ? It doesn't seem
>to be a standard C. 

That program is in effect an informix EDA/SQL or Oracle PRO*C program.
It cannot be directly compiled by 'cc'. It must be preprocessed by a
database vendor Pre-Compiler which will transform the EXEC SQL etc.
sentences into C calls. Look in your system for a makefile with an
'.ec' target in it...

				Good Luck
Guy Dallaire
Groupe DMR Inc.
dallaire@megatoon.com

P.S. My opinions are my own and do not reflect those of my employer
Technical Details
Message-ID: <4l450j$g60@news.accent.net>
Path: arc1-ca.pugleaf.net!news.accent.net!news
References: <4kkej2$3ta@news.cc.utah.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!news.accent.net!news
From: dallaire@megatoon.com (Guy Dallaire)
Newsgroups: comp.unix.programmer,comp.lang.c,comp.unix.internals
Subject: Re: C compiler Error on EXEC SQL
Date: Thu, 18 Apr 1996 01:10:16 GMT
Organization: Accent Internet
Message-ID: <4l450j$g60@news.accent.net>
References: <4kkej2$3ta@news.cc.utah.edu>
NNTP-Posting-Host: 205.205.31.94
X-Newsreader: Forte Free Agent 1.0.82