Hello everyone. How to recover deleted records from a physical file?
Announcement
Collapse
No announcement yet.
Recover deleted records
Collapse
X
-
You could try using the UNDEL2 utility https://github.com/zs6jce/rpgle-UNDEL2
That said, I strongly suggest you change your procedures so this sort of thing is never necesary. You can't rely on the ability to undelete a record. Use things like backups and journals to ensure that you never need to use techniques like this.
Comment
-
Colleagues, I agree that it is a bad idea to recover deleted records directly from the file in which they were deleted. I just needed it once in testing, when the records were deleted and there was no logging for the file.
Although I do not understand why IBM i does not have the native ability to perform such a recovery.
Comment
Comment