Ask a Question related to IBM DB2, Design and Development.
-
Diablo #1
Co-existence of CLI and ESQL in same application
Hi,
I work for a company this is in the process of migrating existing
ESQL code to CLI and I ran across problems with one of the
applications that I'm in the process of converting since certain
library calls within the APP still refer to ESQL code while most of
the application database code has been converted to CLI. Is there any
way to have this CLI co-exist with ESQL code so that we will be able
to do a phased migration to CLI instead of having to rewrite all ESQL
APIs in CLI upfront. Any help in this regard will be much appreciated.
-Gautam
Diablo Guest
-
Co-existence of ESQL and CLI in the same application
Hi, I work for a company this is in the process of migrating existing ESQL code to CLI and I ran across problems with one of the applications that... -
ESQL/C -439
Hi, Does this mailing list discuss issues regarding ESQL/C programming ? If so, i'm having a problem with the -439 error: -439 Database... -
Strange problem with ? parameter substitution with ESQL/C application
We recently ran into this type of behavior as well with ESQL/COBOL (please don't ask). We were given 163480 as the bug number and it was introduced... -
Strange problem with ? parameter substitution with ESQL/C application against 9.40
On Tue, 05 Aug 2003 05:41:11 -0400, Chris Hall wrote: Looks like the engine is seeing the parameters as strings. If so you may have a conversion... -
ESQL/C Error
HI : My program is used the ESQL/C; at my home I can compile the program dbtool.ec to the dbtool.o; But in my office's host I compile my... -
nobody #2
Re: Co-existence of CLI and ESQL in same application
Diablo wrote:
There's nothing preventing from you doing that. And I think DB2> Hi,
> I work for a company this is in the process of migrating existing
> ESQL code to CLI and I ran across problems with one of the
> applications that I'm in the process of converting since certain
> library calls within the APP still refer to ESQL code while most of
> the application database code has been converted to CLI. Is there any
> way to have this CLI co-exist with ESQL code so that we will be able
> to do a phased migration to CLI instead of having to rewrite all ESQL
> APIs in CLI upfront. Any help in this regard will be much appreciated.
>
> -Gautam
explicitly said you could do that. Say you a.sqc, just precompile it
into a.c and then link it your cli application b.c and it will work
fine. It's easier with embedded SQL code called by the cli code, since
it can automatically inherit the connection. If you want to do it the
other way around, I think you will have to do a null connection (it's
documented somewhere).
nobody Guest
-
Mark Yudkin #3
Re: Co-existence of CLI and ESQL in same application
Review the chapter "Mixing Embedded SQL and DB2 CLI" in the CLI Guide and
Reference (chapter on "Using Advanced Features"). It explains how to handle
connections and lists the restrictions.
"Diablo" <gsampathkuma@bloomberg.net> wrote in message
news:80bb2c25.0309221352.323c74a3@posting.google.c om...> Hi,
> I work for a company this is in the process of migrating existing
> ESQL code to CLI and I ran across problems with one of the
> applications that I'm in the process of converting since certain
> library calls within the APP still refer to ESQL code while most of
> the application database code has been converted to CLI. Is there any
> way to have this CLI co-exist with ESQL code so that we will be able
> to do a phased migration to CLI instead of having to rewrite all ESQL
> APIs in CLI upfront. Any help in this regard will be much appreciated.
>
> -Gautam
Mark Yudkin Guest



Reply With Quote

