Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.
Fix_LH
Does anyone know the logic behind the Fix_LH routine in OI? When a table with a GFE is "fixed", the table must be accessed at a lower level than RTP57. That is how all the "good" records are extracted and the GFE's are skipped. Knowing how to do that, as opposed to Readnexting (which stops upon hitting a GFE) would be very helpful with my currently client and cleaning up their data.
Thanks in advance!
Michael
Thanks in advance!
Michael
Comments
The conventional wisdom among some of the "old-timers" with my client is that FIX_LH can actually be run while a table is in use. I know that RTI_MAKETABLE absolutely cannot, and I thought FIX_LH was the same. Does anyone know if FIX_LH, especially the compress function, can be used while a table is being accessed?
Gracias! And Happy Easter!
RTI_MAKETABLE creates a new table and copies the rows from the old one. This is why it can't be used on a live table.
How/can I be sure that using Fix_LH will be ok on a table that's currently in use?
Thanks!
Michael
Anyone run into this? Is there a workaround?
Thanks!
Ensure the application’s repair tables are attached. Not the SYSPROG versions, but the application repair tables:
1. DUMP_FIX_GARBAGE
2. DUMP_FIX_TEMP
3. DUMP_FIX_SAVE
If the SYSPROG versions are attached or the application versions aren't attached, then FS255 will appear when trying to repair.
Other option is to run RTI_REMAKETABLE, which will Not work while in use.
Thanks!
I don't have any experience using RTI_REMAKETABLE to repair GFEs.
Another common option is to take the table offline, do a latent select and readnext through it - ignore any read errors, and then copy the rows it could read to a new clean table. I suppose you could do this while the table is online but you need to sizelock the table before doing this otherwise the latent select / readnext loop could be interrupted if the table is update while the readnext is running.