Solved

Deleted Records

Posted on 2002-03-28
4
335 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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
"Estimated" pages on a spooled file 5 256
iSeries (AS400) Spool file issue 17 110
iSeries DB2 - Query with Sub Query? 7 108
IBM TS3100 tape Library 3 21
This article outlines the process to identify and resolve account lockout in an Active Directory environment.
Data breaches are on the rise, and companies are preparing by boosting their cybersecurity budgets. According to the Cybersecurity Market Report (http://www.cybersecurityventures.com/cybersecurity-market-report), worldwide spending on cybersecurity …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

831 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