One thing you may try is to dump the records to a sequential file. What
I've done in the past is to write out the table using a key like
account*table*id*record. Something like this
SELECT TABLE
LOOP
READNEXT ID ELSE EXIT
READ RECORD FROM TABLE,ID ELSE CONTINUE
LINE=ACCOUNT
LINE<2>=FILENAME
LINE<3>=LOWER(ID) ; *just in case
LINE<4>=LOWER(RECORD)
WRITESEQ LINE ON FIX.FILE ON ERROR...
REPEAT
(2) clear the table
(3) repopulate the table
LOOP
READSEQ LINE FROM FIX.FILE ON ERROR...
ACCOUNT=LINE<1>
FILENAME=LINE<2>
ID=RAISE(LINE<3>)
RECORD=RAISD(LINE<4>)
WRITE RECORD ON TABLE,ID...
REPEAT
This works if you can read the record. I recommend backing up things...
Brad
-----Original Message-----
From: Martin Phillips [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 23, 2006 5:51 AM
To: [email protected]
Subject: Re: [U2] Corrupt universe files
> > Can someone send me the exact logic for fixing corrupted universe
> file using filepeek. I have already given try using fixtool utility.
Seems like another good opportunity to push the UniVerse Internals
course. The next presentation of this course in the UK is scheduled for
w/s 26 June.
Martin Phillips, Ladybridge Systems
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/