+ Reply to Thread
Results 1 to 16 of 16

Thread: deleted rec

  1. #1
    Code400 Newbie rajapandian Whats the funny smell? rajapandian Whats the funny smell? rajapandian Whats the funny smell? rajapandian Whats the funny smell? rajapandian Whats the funny smell? rajapandian Whats the funny smell? rajapandian Whats the funny smell? rajapandian Whats the funny smell? rajapandian Whats the funny smell? rajapandian Whats the funny smell? rajapandian Whats the funny smell? rajapandian's Avatar
    Join Date
    Sep 2008
    Location
    bangalore,india
    Posts
    150
    Rep Power
    680

    deleted rec

    HI

    somebody deleted some records from physical file through sql session. lot of user are there.is there any way to find out which user did this? DSPFD shown only show the number of deleted records , date and time...dsplog wont show anything? please do the needful?

  2. #2
    Experienced Forum Member MichaelCatalani If you were taller I'd think you were YODA. MichaelCatalani If you were taller I'd think you were YODA. MichaelCatalani If you were taller I'd think you were YODA. MichaelCatalani If you were taller I'd think you were YODA. MichaelCatalani If you were taller I'd think you were YODA. MichaelCatalani If you were taller I'd think you were YODA. MichaelCatalani If you were taller I'd think you were YODA. MichaelCatalani If you were taller I'd think you were YODA. MichaelCatalani If you were taller I'd think you were YODA. MichaelCatalani If you were taller I'd think you were YODA. MichaelCatalani If you were taller I'd think you were YODA.
    Join Date
    Aug 2008
    Location
    Memphis, TN
    Posts
    719
    Rep Power
    1927

    Re: deleted rec

    This is what journaling is for. Journal the files, and you'll know who did it. Secure the files properly, and they wont be allowed to do it in the first place. If this was production data, then you need to secure the files so that someone cant update the data from an sql session or any other way except a program which has been tested.
    Michael Catalani
    www.ProvatoSys.com

  3. #3
    Administrator jamief Now you can put ILE on your resume jamief Now you can put ILE on your resume jamief Now you can put ILE on your resume jamief Now you can put ILE on your resume jamief Now you can put ILE on your resume jamief Now you can put ILE on your resume jamief Now you can put ILE on your resume jamief Now you can put ILE on your resume jamief Now you can put ILE on your resume jamief Now you can put ILE on your resume jamief Now you can put ILE on your resume jamief's Avatar
    Join Date
    Jan 2004
    Location
    Illinois
    Age
    45
    Posts
    7,214
    Rep Power
    9164

    Re: deleted rec

    Yes Yes Yes ..... We journal every file on the system..... Yes I said EVERY. I cannot tell you how much pain & suffering this has saved us.....

    jamie
    All my answers were extracted from the "Big Dummy's Guide to the As400"
    and I take no responsibility for any of them.

    www.code400.com

  4. #4
    Code400 Newbie rajapandian Whats the funny smell? rajapandian Whats the funny smell? rajapandian Whats the funny smell? rajapandian Whats the funny smell? rajapandian Whats the funny smell? rajapandian Whats the funny smell? rajapandian Whats the funny smell? rajapandian Whats the funny smell? rajapandian Whats the funny smell? rajapandian Whats the funny smell? rajapandian Whats the funny smell? rajapandian's Avatar
    Join Date
    Sep 2008
    Location
    bangalore,india
    Posts
    150
    Rep Power
    680

    Re: deleted rec

    HOW TO VIEW THE JOURNAL FOR THE PARTICULAR DATE.DSPJRN I USE BUT IN THIS I CAN ABLE TO SEE THE LAST DAY ONLY....I CHECKED WITH PARTICULAR DATE THROUGH STARTING DATE AND ENDING DATE IT WONT SHOW.................'No entries converted or received from journal JOURNAL. ' IT GIVE THE MSG LIKE THAT..............

  5. #5
    Administrator jamief Now you can put ILE on your resume jamief Now you can put ILE on your resume jamief Now you can put ILE on your resume jamief Now you can put ILE on your resume jamief Now you can put ILE on your resume jamief Now you can put ILE on your resume jamief Now you can put ILE on your resume jamief Now you can put ILE on your resume jamief Now you can put ILE on your resume jamief Now you can put ILE on your resume jamief Now you can put ILE on your resume jamief's Avatar
    Join Date
    Jan 2004
    Location
    Illinois
    Age
    45
    Posts
    7,214
    Rep Power
    9164

    Re: deleted rec

    WRKJRNA &Journal

    then <F15> to see all journals left on system..


    jamie
    All my answers were extracted from the "Big Dummy's Guide to the As400"
    and I take no responsibility for any of them.

    www.code400.com

  6. #6
    Harbinger of Doom tomholden You can't touch this U jr programmer U! tomholden You can't touch this U jr programmer U! tomholden You can't touch this U jr programmer U! tomholden You can't touch this U jr programmer U! tomholden You can't touch this U jr programmer U! tomholden You can't touch this U jr programmer U! tomholden You can't touch this U jr programmer U! tomholden You can't touch this U jr programmer U! tomholden You can't touch this U jr programmer U! tomholden You can't touch this U jr programmer U! tomholden You can't touch this U jr programmer U! tomholden's Avatar
    Join Date
    Dec 2007
    Location
    Lebanon, TN
    Posts
    2,740
    Rep Power
    5948

    Re: deleted rec

    and change the default from *CURRENT cjournal receiver to *CURCHAIN
    Experience has it's benefits...unfortunately by the time you acquire it you've forgotten what you needed it for -Tommy Holden

  7. #7
    Code400 Newbie rajapandian Whats the funny smell? rajapandian Whats the funny smell? rajapandian Whats the funny smell? rajapandian Whats the funny smell? rajapandian Whats the funny smell? rajapandian Whats the funny smell? rajapandian Whats the funny smell? rajapandian Whats the funny smell? rajapandian Whats the funny smell? rajapandian Whats the funny smell? rajapandian Whats the funny smell? rajapandian's Avatar
    Join Date
    Sep 2008
    Location
    bangalore,india
    Posts
    150
    Rep Power
    680

    Re: deleted rec

    it s given no messages pending like that msg...........jamief sorryyy

  8. #8
    Administrator jamief Now you can put ILE on your resume jamief Now you can put ILE on your resume jamief Now you can put ILE on your resume jamief Now you can put ILE on your resume jamief Now you can put ILE on your resume jamief Now you can put ILE on your resume jamief Now you can put ILE on your resume jamief Now you can put ILE on your resume jamief Now you can put ILE on your resume jamief Now you can put ILE on your resume jamief Now you can put ILE on your resume jamief's Avatar
    Join Date
    Jan 2004
    Location
    Illinois
    Age
    45
    Posts
    7,214
    Rep Power
    9164

    Re: deleted rec

    please post commands you are using to see journals...
    as well as the output for example see my attached image

    The dates are important when looking at journals
    • SAVED - deleted but on backup tape
    • ONLINE - no longer attached to file but on the system
    • ATTACHED - current journal
    Attached Thumbnails Attached Thumbnails Click image for larger version

Name:	journals.jpg
Views:	12
Size:	155.2 KB
ID:	1787  
    All my answers were extracted from the "Big Dummy's Guide to the As400"
    and I take no responsibility for any of them.

    www.code400.com

  9. #9
    Code400 Newbie rajapandian Whats the funny smell? rajapandian Whats the funny smell? rajapandian Whats the funny smell? rajapandian Whats the funny smell? rajapandian Whats the funny smell? rajapandian Whats the funny smell? rajapandian Whats the funny smell? rajapandian Whats the funny smell? rajapandian Whats the funny smell? rajapandian Whats the funny smell? rajapandian Whats the funny smell? rajapandian's Avatar
    Join Date
    Sep 2008
    Location
    bangalore,india
    Posts
    150
    Rep Power
    680

    Re: deleted rec

    RECEIV4074 -status of this receiver is online
    RECEIV4073-status of this receiver is attached....

    how to see the lines inside the receiver?thats what i want to know jamie...........i am using dspjrnrcva commmand.but i caln see only the basic information...

  10. #10
    Administrator jamief Now you can put ILE on your resume jamief Now you can put ILE on your resume jamief Now you can put ILE on your resume jamief Now you can put ILE on your resume jamief Now you can put ILE on your resume jamief Now you can put ILE on your resume jamief Now you can put ILE on your resume jamief Now you can put ILE on your resume jamief Now you can put ILE on your resume jamief Now you can put ILE on your resume jamief Now you can put ILE on your resume jamief's Avatar
    Join Date
    Jan 2004
    Location
    Illinois
    Age
    45
    Posts
    7,214
    Rep Power
    9164

    Re: deleted rec

    I have DBU here and can use the Fantastic command DSPJRN....
    (Really nice feature if anyone has DBU)

    For you its
    PHP Code:
    DSPJRN 
    Then 5 to display detail.....

    You could
    PHP Code:
    DSPJRN  &MYJOURNAL OUTPUT(*PRINT) 
    and search that way....

    jamie
    All my answers were extracted from the "Big Dummy's Guide to the As400"
    and I take no responsibility for any of them.

    www.code400.com

  11. #11
    Harbinger of Doom tomholden You can't touch this U jr programmer U! tomholden You can't touch this U jr programmer U! tomholden You can't touch this U jr programmer U! tomholden You can't touch this U jr programmer U! tomholden You can't touch this U jr programmer U! tomholden You can't touch this U jr programmer U! tomholden You can't touch this U jr programmer U! tomholden You can't touch this U jr programmer U! tomholden You can't touch this U jr programmer U! tomholden You can't touch this U jr programmer U! tomholden You can't touch this U jr programmer U! tomholden's Avatar
    Join Date
    Dec 2007
    Location
    Lebanon, TN
    Posts
    2,740
    Rep Power
    5948

    Re: deleted rec

    did you even try my suggestion?
    Code:
    DSPJRN JRN(MYLIB/MYJRN) RCVRNG(*CURCHAIN)
    Experience has it's benefits...unfortunately by the time you acquire it you've forgotten what you needed it for -Tommy Holden

  12. #12
    Administrator jamief Now you can put ILE on your resume jamief Now you can put ILE on your resume jamief Now you can put ILE on your resume jamief Now you can put ILE on your resume jamief Now you can put ILE on your resume jamief Now you can put ILE on your resume jamief Now you can put ILE on your resume jamief Now you can put ILE on your resume jamief Now you can put ILE on your resume jamief Now you can put ILE on your resume jamief Now you can put ILE on your resume jamief's Avatar
    Join Date
    Jan 2004
    Location
    Illinois
    Age
    45
    Posts
    7,214
    Rep Power
    9164

    Re: deleted rec

    Tommy,

    I tried it but it keeps saying something about MYLIB doesnt exist!


    jamie
    All my answers were extracted from the "Big Dummy's Guide to the As400"
    and I take no responsibility for any of them.

    www.code400.com

  13. #13
    Code400 Newbie rajapandian Whats the funny smell? rajapandian Whats the funny smell? rajapandian Whats the funny smell? rajapandian Whats the funny smell? rajapandian Whats the funny smell? rajapandian Whats the funny smell? rajapandian Whats the funny smell? rajapandian Whats the funny smell? rajapandian Whats the funny smell? rajapandian Whats the funny smell? rajapandian Whats the funny smell? rajapandian's Avatar
    Join Date
    Sep 2008
    Location
    bangalore,india
    Posts
    150
    Rep Power
    680

    Re: deleted rec

    Hi jamie

    i heard some where deleted records wont get deleted till rgzpfm command issued....then it possible to read that through RRN? or through buffer

  14. #14
    Administrator jamief Now you can put ILE on your resume jamief Now you can put ILE on your resume jamief Now you can put ILE on your resume jamief Now you can put ILE on your resume jamief Now you can put ILE on your resume jamief Now you can put ILE on your resume jamief Now you can put ILE on your resume jamief Now you can put ILE on your resume jamief Now you can put ILE on your resume jamief Now you can put ILE on your resume jamief Now you can put ILE on your resume jamief's Avatar
    Join Date
    Jan 2004
    Location
    Illinois
    Age
    45
    Posts
    7,214
    Rep Power
    9164

    Re: deleted rec

    It will show records deleted in the journal.. Its just a log file on steroids.

    Need to look at the record types and find the deletes I think they are "DL"

    see chart
    http://publib.boulder.ibm.com/infoce...rzakicodes.htm

    jamie
    All my answers were extracted from the "Big Dummy's Guide to the As400"
    and I take no responsibility for any of them.

    www.code400.com

  15. #15
    Code400 Newbie rajapandian Whats the funny smell? rajapandian Whats the funny smell? rajapandian Whats the funny smell? rajapandian Whats the funny smell? rajapandian Whats the funny smell? rajapandian Whats the funny smell? rajapandian Whats the funny smell? rajapandian Whats the funny smell? rajapandian Whats the funny smell? rajapandian Whats the funny smell? rajapandian Whats the funny smell? rajapandian's Avatar
    Join Date
    Sep 2008
    Location
    bangalore,india
    Posts
    150
    Rep Power
    680

    Re: deleted rec

    Is there any way to get back the record?.........

  16. #16
    Administrator jamief Now you can put ILE on your resume jamief Now you can put ILE on your resume jamief Now you can put ILE on your resume jamief Now you can put ILE on your resume jamief Now you can put ILE on your resume jamief Now you can put ILE on your resume jamief Now you can put ILE on your resume jamief Now you can put ILE on your resume jamief Now you can put ILE on your resume jamief Now you can put ILE on your resume jamief Now you can put ILE on your resume jamief's Avatar
    Join Date
    Jan 2004
    Location
    Illinois
    Age
    45
    Posts
    7,214
    Rep Power
    9164

    Re: deleted rec

    there are tools posted on the site that will un-delete records... You need to search the forum.
    If you have DBU you can show all deleted records and with the touch of a function key Un-delete records

    Otherwise in the journal is the value of all the fields in the table prior to delete...
    you could re-key them.
    All my answers were extracted from the "Big Dummy's Guide to the As400"
    and I take no responsibility for any of them.

    www.code400.com

+ Reply to Thread

Similar Threads

  1. Deleted Records Report
    By egami in forum IceBreak - Questions, tips and tricks
    Replies: 3
    Last Post: July 28th, 2008, 08:50 AM
  2. ODP not deleted
    By rx_b10 in forum SQL
    Replies: 9
    Last Post: September 13th, 2007, 12:02 AM
  3. Recover Deleted File
    By Chevylover54 in forum IFS
    Replies: 2
    Last Post: December 30th, 2006, 01:28 AM
  4. source deleted
    By sudha in forum Iseries System administration
    Replies: 6
    Last Post: September 27th, 2006, 06:12 AM
  5. how to retrive the record has been deleted?
    By pl421 in forum RPG/RPGLE
    Replies: 5
    Last Post: March 8th, 2006, 03:54 PM

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts