[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference clusta::acms

Title:ACMS comments and questions
Notice:This is not an official software support channel. Kits 5.*
Moderator:CLUSTA::HALLAN
Created:Mon Feb 17 1986
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:4179
Total number of notes:15091

4165.0. "Corrupt queue file, format and recovery??" by KERNEL::PULLEY (Come! while living waters flow) Fri May 09 1997 07:15

    Hi Folks,
    
    I've a customer who's got a corrupt queue file.
    He got an RMS bucket check error of some sort, after which he could
    still queue tasks to the file, but couldn't dequeue them,
    (I think just using the QTI).
    So he's copied that queue file out the way, and now has the system
    working with a new one.
    But, he has about 300000 blocks of queue file he can't use at the
    moment, so he's trying to find a way of getting all the good records
    from the file.
    
    What he's tryed so far is to convert the file from indexed to
    sequential, but that gave the same problem.
    We're assuming that probably means the corruption is in the record
    rather than teh index.
    
    His next idea was to try to read all the records out of one file,
    writint them into a new file.
    Something:  process records sequentially till error;  read for the next
    record, (from the key of the last read record), till error;  return to
    processing records sequentially.
    I've not quite worked out, whether there's any problem with this
    method, but if it should work, can he get the queue file format from
    anywhere, so he can findout how to read and write it?
    From FDL looks like there's one key from position 2 of length 8.
    
    Is there any other way this file might be recovered?
    
    Thanks,
    Steve.
    
T.RTitleUserPersonal
Name
DateLines
4165.1ACMS::HALLBill Hall - ACMS Engineering - ZKO2-2Fri May 09 1997 10:4115
    
    
    	Usually if there is a problem at the data level, you read the file
    	until you get the error and then you need do a retrieval via an
    	index so that you can bypass the bad bucket.
    
    	You might check the RMS notesfile and see if they have any tools
    	that will read the file.  One of the engineers that monitors that
    	file, Hein Vandenheuvel, is one of the orginal ACMS support guys
    	from Holland.
    
    	In the meantime, I'll look to see if there is a file layout of the 
    	queue file.
    
    	Bill