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 > Get sql error message (SQLCI, AS/400)

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-14-03, 03:20
HabaHaba HabaHaba is offline
Registered User
 
Join Date: Oct 2003
Posts: 4
Get sql error message (SQLCI, AS/400)

Hello, all!
I'm writing a programm for DB2 on AS/400 (OS/400, SQLCI).
Many of examples for other systems are using some C libraries, like "sql.h" or "sqlenv.h". Where can i find them on AS/400?
For example, i want to display some errors, but, as i understand from samples, to display errors i need sqlaintp() function from "sql.h" library.
Where can i get it? Or, may be, there is some other way to get sql error message on AS/400 using SQLCI?

Thank you
Reply With Quote
  #2 (permalink)  
Old 11-14-03, 05:16
blackbrain blackbrain is offline
Registered User
 
Join Date: Nov 2003
Posts: 24
In my case this file comes with the db2 installation.

Located at: /usr/lpp/db2_07_01/include/sql.h

jhp
black_
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