Vavel wrote:
> Rhino wrote:
>
>> Have you given any thought to looking at the Application
>> Programming/Building manuals that come with your copy of DB2? These
>> manuals
>> describe the process of compiling your programs and describe which
>> compilers
>> have been tested with DB2. They also give many examples of programs in a
>> variety of languages that you can imitate.
>>
> 1.Application Development Guide:Building and Running Applications
> 2.Quick Beginnings for DB2 Clients
> 3. DB2 UDB Exploitation of the Windows Environment
>
> I know that if someone asked about something first answer in many times
> is RTFM. But I've looked at manuals that I've listed above, but I
> didn't find answer. I don't say that there is no answer in this manuals
> but I can't find it.That's why I asked for help.
>
>> I have to assume you didn't look at any of these examples because you
>> appear
>> to have a large number of comments interspersed throughout your Insert
>> statement. If you remove those comments, I expect you'll have much better
>> luck with your compile.
>
> But my compiler didn't look at my statement at all because there was an
> errors in libaries,while statements were compiled. Maybe someone have
> seen example that would help me. It's easy to say: "everything is in
> manual"...
The code looks like Embedded SQL in C - in Informix terms, ESQL/C.
You need to find the correct preprocessor that will convert that into
a C source file, and then compile that C source with the correct
headers (and libraries) into an object or executable.
--
Jonathan Leffler #include <disclaimer.h>
Email:
jleffler@earthlink.net,
jleffler@us.ibm.com
Guardian of DBD::Informix v2003.04 --
http://dbi.perl.org/