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 > Net Search Extender Index update

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-20-03, 11:37
rvvrrat rvvrrat is offline
Registered User
 
Join Date: Oct 2003
Posts: 1
Net Search Extender Index update

Anyone know how to programmatically (from Java) run an index update? A statement like this fails with syntax errors: "db2text update bisc.NSE_study_title for text". In fact these staements cannot be run from the Control Center, but willl run from a DB2 command window. Any help would be appreciated.

Pete
Reply With Quote
  #2 (permalink)  
Old 10-21-03, 03:39
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
Re: Net Search Extender Index update

I think db2text is a OS command ... So you will have to appropriately call it in your Java Code ....

Cheers
Sathyaram

Quote:
Originally posted by rvvrrat
Anyone know how to programmatically (from Java) run an index update? A statement like this fails with syntax errors: "db2text update bisc.NSE_study_title for text". In fact these staements cannot be run from the Control Center, but willl run from a DB2 command window. Any help would be appreciated.

Pete
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
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