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 > How to locate the row given rowid (os390)

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-25-04, 08:54
MahendraSetty MahendraSetty is offline
Registered User
 
Join Date: Apr 2004
Posts: 48
Smile How to locate the row given rowid (os390)

HI,

After running CHECK, I get the rowid's of the table. How can I see the exact row in question ?

Eg : RID of existing row is X'00000000802' , How to get to the exact row of this table ?


Thanks
Reply With Quote
  #2 (permalink)  
Old 05-26-04, 03:28
xamar xamar is offline
Registered User
 
Join Date: Apr 2004
Posts: 39
reply

I am not sure if it is possible to locate the row using rowid that easily. I had similar problem sometime back and posted a thread here. Besides Rowids are present in the index.

One way is unload the whole table and then load replace with a DISCARD DD card with enforce yes. You will get all the bad records there in DISCARD file. And can decide what to do with them and change them if needed and reload this corrected bunch with load resume.

xamar
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