Deleted files

85 pts.
Tags:
Application development
AS/400
Backup and Recovery
DataCenter
RPGLE
WE have a PF file that got deleted, we don't do job logs unlwss there is a problem...is there anyway to tell who deleted it? Also for in the future, what is the best way to be able to track deletions? We have 9 people that have all obj authority. Also is it possible that the file could get deleted during the following command CPYSPLF File(QPDSPJOB) tofile(qgpl/djob) splnbr(*last) mbropt(*replace) if there was a system problem/error say a session went down etc. ? Thanks Ann

Answer Wiki

Thanks. We'll let you know when a new response is added.

As far as I know there’s no way to track who deleted an object, the only way to do this is scanning the joblogs, but this needs to be activeted in your case. It might be better to create a group-profile for the 9 people and deny them the existence right on objects. In that case they can rename or move the object but can’t delete it. You can make a scheduled job that checks the rights for the group-account and adds/deletes rights for *allusr objects for this group.

The cpysplf only replaces the member, so if something goes wrong with the job, the member can be gone, but the file must still be there. If the system goes down unexpectedly, the object can get damaged and/or moved to the qrecovery library.<b> You can review the audit journals to determine who deleted an object. Your system value QAUDLVL must include *DELETE before this action is logged to the journal.</b>

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following