[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 343
  • Last Modified:

Deleted Records

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
KimberlyMinarik
Asked:
KimberlyMinarik
1 Solution
 
jjjjjjjCommented:
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
 
KimberlyMinarikAuthor Commented:
There was no journaling on this file.
0
 
jodo741309Commented:
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
 
ComTechCommented:
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

Fill in the form and get your FREE NFR key NOW!

Veeam is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now