|
You can -still- get a damaged index. (: Many times you can copy data from a PF with a damaged index using CPYF FROMRCD(1). This forces OS/400 to read records in arrival sequence, bypassing the index. This 'trick' has saved my, uh, -neck- a number of times. --Paul E Musselman PaulMmn@ix.netcom.com >>> Was wondering how folks define PF's when it comes to keyed or not. > >In the past it was possible to get a damaged index on a file. The only >way to fix it was to delete and recreate the index. If the damaged index >was on a logical, all you had to do was recreate the logical. Physical >files were another story. You couldn't copy the data because of the >damage. You also couldn't reorg the file to recover. The only option >was to restore from a backup. > >I actually had this happen to me, but it was back on the S/38. I've never >heard of it happening on the AS/400 and I've been told (can't remember >who) that it can't happen anymore. > >Joe Teff +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.