Solved

Deleted Records

Posted on 2002-03-28
4
337 Views
Last Modified: 2008-03-10
This question is for PS Price.

You had answered a question about getting deleted records back by creating a save file, and then you stated that you programatically were able to restore the records by changing the delete indicator.

I have created the save file on the file that record were deleted.  What I really need to know is who (User or Program) deleted the records?  Will there be a field in the save file that would allow me to programatically get that information.  And after you create the save file, what are the steps inbetween to find the indicator?  Hence, what would that indicator's field name be?  Or, is it after I create the save file that I need to do a CL command such as DSPOBJD?

Thanks.





0
Comment
Question by:KimberlyMinarik
4 Comments
 
LVL 1

Expert Comment

by:jjjjjjj
ID: 6903761
I'm not PS Price, but here is a tip:

You can see if the file was journaled by typing wrkjrn at the command line and prompting.  You will see *all come up in the journal field.  Press enter.  Hopefully you have a journal for the file in question.  If the person who created the journal uses an intelligent naming convention, you can find out if it exists rather easy by looking for a journal that has the same name as the file, something like itemjrn or demandjrn.

If it does, you can do DSPJRN.  This is a lengthy process, but it will get the data you are looking for.

Let me know what you find using the wrkjrn command.  If it the journal exists, your about 1/2 way there.

jjjjjjj
0
 

Author Comment

by:KimberlyMinarik
ID: 6904921
There was no journaling on this file.
0
 
LVL 1

Accepted Solution

by:
jodo741309 earned 200 total points
ID: 6934468
System wise, journalling is really the only way to see who deleted a record in a file.  Programatically, your software vendor may have implimented something like writing the deleted records to a history file, for example.
0
 

Expert Comment

by:ComTech
ID: 6945228
jjjjjjj, I will leave a question for you in this same Topic Area, as I believe you have a very good answer.

ComTech
CS Admin @ EE
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Enabling the Skype for Business Meeting Scheduler in Hybrid OWA
Although a lot of people devote their energy toward marketing for specific industries, there are some basic principles that can be applied to any sector imaginable. We’ll look at four steps to take and examine how those steps were put into action fo…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question