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 > db2 compiler

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-28-06, 19:49
quigleyd quigleyd is offline
Registered User
 
Join Date: Nov 2002
Location: Delaware
Posts: 186
db2 compiler

V8 is supposed to have a compiler built in, how do I use it or install it.
__________________
David Quigley
Reply With Quote
  #2 (permalink)  
Old 01-28-06, 21:37
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
I believe that you may be talking about the fact that starting in V8.2, SQL stored procedures and functions do not need a C compilier on your server. That is not because 8.2 comes with a C compiler, but because the SQL statements are converted to native representation and stored in the catalog as is the case with other SQL statements. Previously, stored procedures and UDF's written in SQL where converted to C programs with embedded SQL and then compiled.

DB2 V8.2 is equivilent to 8.1 with FP7 or higher.

If instead, you are asking about the DB2 pre-compiler that is used for C, COBOL, etc, programs with embedded SQL, then check out the Application Programming Guide. A pre-compiler converts the SQL statements to regular lanuguage calls to DB2 modules (packages) so that the program can then be compiled with a regular compiler (not included).
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390

Last edited by Marcus_A; 01-28-06 at 21:41.
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