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 > EXCEPTION table in load

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-30-08, 13:49
dareman123 dareman123 is offline
Registered User
 
Join Date: Dec 2007
Posts: 30
EXCEPTION table in load

hi
how to create EXCEPTION TABLE which is used in the load command.
is it created automatically when we mention in the LOAD command or do we need to create first
db2 v8.1 fp12
solaris environment.

thanks...
Reply With Quote
  #2 (permalink)  
Old 01-30-08, 16:05
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
Use the "MESSAGES <filename>" option... (which you can easily find in the manual)


Andy
Reply With Quote
  #3 (permalink)  
Old 01-30-08, 21:09
dareman123 dareman123 is offline
Registered User
 
Join Date: Dec 2007
Posts: 30
thanks andy for your reply
but i have one more question,MESSAGES <msg file> is used by db2 for writing the error messages right?. and my question is the EXCEPTION TABLE which will be populated by the rejected rows during the load operation.
do we need to create it first or is it created automatically during load operation if we mention it?.
correct me if iam wrong
thanks..
Reply With Quote
  #4 (permalink)  
Old 01-31-08, 07:55
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
Sorry, I missed that. You need to create it:

http://publib.boulder.ibm.com/infoce...c/c0004596.htm

Andy
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