If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > static SQL with ODBC: experiences?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-01-09, 06:53
Peter.Vanroose Peter.Vanroose is offline
Registered User
 
Join Date: Sep 2004
Location: Belgium
Posts: 1,079
static SQL with ODBC: experiences?

I'm considering the use of statically bound SQL in an MS-Windows application (dotNet: ODBC and OLEDB) accessing DB2 for z/OS. Do some of you have experience with this? And comment on setup, complexity, advantages, disadvantages, ...

A first quick search leads me to the "db2cap" command and the page
IBM DB2 9.5 Information Center for Linux, UNIX, and Windows
This seems to indicate that dynamic ODBC queries are "catched" and turned into static in some way or another. Are there other ways to force "static" from within the application, something in the style of SQLJ?
Or did someone try the following setup: have a separately compiled (& precompiled) subprogram written in C (or C++) with embedded static SQL, and calling it from the dotNet program?

Thanks in advance for any comments!
__________________
--_Peter Vanroose,
__IBM Certified Database Administrator, DB2 9 for z/OS
__IBM Certified Application Developer
__ABIS Training and Consulting
__http://www.abis.be/

Last edited by Peter.Vanroose; 06-01-09 at 07:18.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On