I need help using esql.
Posted in 2000
Topics: Connectivity: ESQL/C, 4GL & Embedded SQL
This is a multi-part message in MIME format.
------=_NextPart_000_0028_01BFC753.C118BC60
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi i'm compiling some esql/c programs and i use a includes in other =
directories.
"esql program.ec -o program -I/home/includes"
it's gives me this error
esqlc: "program.ec", line 41: Error -33042: Cannot open input file =
'definitions.h'.
i'm the owner of the file and i have all the permitions over the headers =
files.
i'm using INFORMIX SE 7.3 on SCO Openserver 5.04
to solve this problem i must copy the headers files to the current =
directory and then it's works.
also i must copy the headers files i a non case sensitive way only in =
lowercase, the statement that i use is
exec sql include definitions.h;
thks,
Julito
------=_NextPart_000_0028_01BFC753.C118BC60
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2614.3500" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Hi i'm compiling some esql/c programs =
and i use a=20
includes in other directories.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2> "esql program.ec -o =
program=20
-I/home/includes"</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>it's gives me this error</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>esqlc: "program.ec", line 41: Error =
-33042: Cannot=20
open input file 'definitions.h'.</FONT></DIV>
<DIV> </DIV><DIV><FONT face=3DArial size=3D2>i'm the owner of the file and i have =
all the=20
permitions over the headers files.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>i'm using INFORMIX SE 7.3 on SCO =
Openserver=20
5.04</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>to solve this problem i must copy the =
headers files=20
to the current directory and then it's works.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>also i must copy the headers files i a =
non case=20
sensitive way only in lowercase, the statement that i use =
is</FONT></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>exec sql include =
definitions.h;</FONT></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>thks,</FONT></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Julito</FONT></DIV>
<DIV> </DIV></BODY></HTML>
------=_NextPart_000_0028_01BFC753.C118BC60--
rejmess wrote: > This is a multi-part message in MIME format. If you want to post to news groups, don't use HTML postings! > Hi i'm compiling some esql/c programs and i use a includes in other = > directories. > > "esql program.ec -o program -I/home/includes" > > it's gives me this error > > esqlc: "program.ec", line 41: Error -33042: Cannot open input file = > 'definitions.h'. > > i'm the owner of the file and i have all the permitions over the headers = > files. > > i'm using INFORMIX SE 7.3 on SCO Openserver 5.04 > > to solve this problem i must copy the headers files to the current = > directory and then it's works. > > also i must copy the headers files i a non case sensitive way only in = > lowercase, the statement that i use is > > exec sql include definitions.h; Try reading the manual on -EI/where/you/put/it And make sure the -EI option appears before filename.ec; Informix scripts make one pass over the argument list so it won't notice the -EI argument in time to compile the source cleanly. -- Jonathan Leffler (jleffler@informix.com, jleffler@earthlink.net) Guardian of DBD::Informix v1.00.PC1 -- see http://www.perl.com/CPAN #include <disclaimer.h>
Related threads
- Conversion to differeent characters sets
- Problem in changing locale via dbexport/dbimport
- RE: openlink error "Unable to load locale categories"