Chuck, I feel your pain. I've spent the good part of the last two weekends fixing a similar problem. I'm not sure how big *very* large is in your world is, in mine it was about 3GB.
Guide didn't find an error in the file but it would coredump when certain items were "fi"led. Programs trying to write the file received similar errors. I managed to copy out the records in the "bad" group (RECORD HISTFILE '35676354'). Strangely enough they copied out OK. I deleted the indices. I then used fileview with the -nv option to wipe the group. Then memresized the file (with memory 512000 - it's much faster), with the same paramters. Checked the group and ran guide. Re-ran memresize with a completely different modulo and block size. I made sure the items I copied out didn't exist and copied them back in. Lastly, the invoices were rebuilt. The file appears to be OK now. This was all done while all other users were off of the system. It's times like this that I miss the Pick DUMP command. It lets you see exactly what is in the group so you know what it was unable to pull out. All of this was interspersed with efforts of dumpgroup, fixgroup, a routine (clean.group) from IBM that programatically ran the fileview commands to clear the group, adding space to the filesystem (reboot to make sure the dynamic file can see the new space). At one point sms -F to see the space on the system was just going wacky. It was on UniData 6.0.8 on Aix 5.1. Colin Alfke Calgary, AB >-----Original Message----- >From: Chuck Mongiovi > >Hey all, >I've got a *very* large dynamic file running on a UDT 6 / AIX >5 system .. >I'm trying to fix it with "memresize" and getting the following error: > >Resize HISTFILE mod(,sep) = 0(,-1) type = -1 memory = 8000 (k) >RESIZE file HISTFILE to 258317. >The temporary file for memresize is rsztemp9jrTya. >2:blk check error in U_catch_tuple for file 'HISTFILE' key '35676354', >number=224274 >cannot read record from HISTFILE,key is 35676354 grp(224275) >(1)th key -- >RESIZE failed >No dictionary file reference in VOC for rsztemp9jrTya. >memresize failed. > >The file DOES have indexes .. > >I never have any problems with fixing static files, but when thie file >breaks (and it has several times), I can't fix it .. I just >have to copy as >much data out of it as possible and dump the rest .. > >Any ideas? >-Chuck MOngiovi ------- u2-users mailing list [email protected] To unsubscribe please visit http://listserver.u2ug.org/
