Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.
Preventing program deletion
Hola all,
My client just had an issue where a beginner programmer accidentally deleted a program from the main OI screen. The OI checkin/checkout is not used. I don't think the repository keeps a backup copy?
Two questions:
1. Is there a good system/repository setting to prevent deletion of programs (source and object)
2. Is there any other option to prevent deletion on SYSPROCS/SYSOBJ?
I'm about to write an MFS. Just checking before I take the plunge.
Gracias!
Michael
My client just had an issue where a beginner programmer accidentally deleted a program from the main OI screen. The OI checkin/checkout is not used. I don't think the repository keeps a backup copy?
Two questions:
1. Is there a good system/repository setting to prevent deletion of programs (source and object)
2. Is there any other option to prevent deletion on SYSPROCS/SYSOBJ?
I'm about to write an MFS. Just checking before I take the plunge.
Gracias!
Michael
Comments
Do I need to just write an MFS to block deletes?
Is there a better way to handle? Ideally I'd like to completely block the all the deletes associated with the program in question. Do I need to put the MFS on SYSREPOS or SYSOBJ or ?
Thanks again!
So I put the MFS on the SYSPROCS table, and it mostly works. The delete is blocked, and the source and object code are still there. The program will still run. All good. If the user happens to delete the entity from the main OI screen, it all still works, but the program is no longer registered as a stored procedure. One has to edit the SYSPROCS record, copy and paste into a new SP and recompile. It's doable but complicated for a novice (like the one who facilitated this to begin with.)
I've tried using the RECOMPILE_PROC routine, as well as calling Repository with the COMPILE method. No joy. If there a good way to re-register a Repository entity that's been deleted when everything else is there?
Gratzi!