Link to home
Start Free TrialLog in
Avatar of KimberlyMinarik
KimberlyMinarik

asked on

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.





Avatar of jjjjjjj
jjjjjjj

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
Avatar of KimberlyMinarik

ASKER

There was no journaling on this file.
ASKER CERTIFIED SOLUTION
Avatar of jodo741309
jodo741309

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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