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 > Text Extender - What SQL Code to check

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-03-03, 09:40
Carmela Couderc Carmela Couderc is offline
Registered User
 
Join Date: Nov 2003
Location: Malvern, PA
Posts: 1
Question Text Extender - What SQL Code to check

DB2 7.0, Text Extender, OS 390
I am working on an applicaiton and need to code to check specific SQL codes so we can give a 'soft' message to the end user.

Examples of conditions we would like to check are: index empty, index unavailable. The manual lists SQL states, as well as messages. For example: DES0756N The database is not enabled for Text Extender.

There is a chapter titled 'Return Codes' - however the documentation has text strings, not a specific SQL Code value. For example - 'RC_SE_DOCUMENT_NOT_ACCESSIBLE'. This is something to code for, however I can't figure out what SQL Code to check.

I know we can code for values such as -904 which is documented to mean 'unavailable resource', however I can't determine if this code is valid in the TE environment.
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