Unix Technical Forum

Co-existence of ESQL and CLI in the same application

This is a discussion on Co-existence of ESQL and CLI in the same application within the Informix forums, part of the Database Server Software category; --> Hi, I work for a company this is in the process of migrating existing ESQL code to CLI and ...


Go Back   Unix Technical Forum > Database Server Software > Informix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-19-2008, 07:52 PM
Diablo
 
Posts: n/a
Default 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 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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-19-2008, 07:52 PM
Jonathan Leffler
 
Posts: n/a
Default Re: Co-existence of ESQL and CLI in the same application

Diablo wrote:
> 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.



So, are you using IBM DB2 or Informix? I saw the question in
comp.databases.ibm-db2, so I'm puzzled. Not cross-posted, either.

With respect to Informix, in the early days (circa 1995), it was not
possible to use ESQL/C and ODBC in the same application. I believe it
has since been fixed so that you can use both, but I've not personally
verified that.

--
Jonathan Leffler #include <disclaimer.h>
Email: jleffler@earthlink.net, jleffler@us.ibm.com
Guardian of DBD::Informix v2003.04 -- http://dbi.perl.org/

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:38 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com