Clearing the Joural Entries attached for a receiver

425 pts.
Tags:
AS/400 journaling
Ex: Run DSPJRN JRN01, and you can see the list of entries of changes. Can someone explain me, how to clear the above list without deleting receiver?

Software/Hardware used:
Iseries

Answer Wiki

Thanks. We'll let you know when a new response is added.

typically you would
change the jrn to the next receiver
back-up the receiver
delete the receiver
Phil

=====================================================

<i>…how to clear the above list without deleting receiver?</i>

For that question, the answer is “You can’t.”

That is, high-level programming can not access journal entries to clear or delete them. That’s why journals can be far superior to files for audit logs.

But note that this doesn’t appear to be the correct question. Your later comment was “Actually I tried using RMVJRNCHG, but its now worked for me.” Perhaps you meant to say “…its <b>not</b> worked for me.”

Please clarify what you need to know.

Removing journaled changes <i>is not</i> the same as clearing entries from a receiver.

Tom

Discuss This Question: 9  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Kar
    Is it possible to use the same receiver by clearing the records and with out deleting it?
    425 pointsBadges:
    report
  • Kar
    Actually I tried using RMVJRNCHG, but its now worked for me.
    425 pointsBadges:
    report
  • philpl1jb
    I don't understand your last message. RMVJRNCHG is used to back out changes to the data files that are journalled This doesn't sound like what you were trying to do. Phil
    49,610 pointsBadges:
    report
  • Harish.kuolkhere
    The Remove Journaled Changes (RMVJRNCHG) command used to remove the changes done on Journaled Object. It is not used to clearing the Entries...! Pls confirm whether i am correct or not...?
    190 pointsBadges:
    report
  • Lovemyi
    Removing Journal changes RMVJRNCHG will back out transactions on the actual file and will just add additional records into the journal receiver saying that it did remove the journal changes previously added to the journal receiver. Nothing is ever deleted from the journal receiver. That is the power behind why this is still the greatest machine on the planet. :-) Be very carefull in using this command over your production files in a fully integrated system or you will get the data out of sync if you do not get all the records in all the files backed out in the same job that wrote them in the first place. Lovemyi
    2,310 pointsBadges:
    report
  • TomLiotta
    Be very carefull in using this command over your production files in a fully integrated system or you will get the data out of sync if you do not get all the records in all the files backed out in the same job that wrote them in the first place. In some ways, that would seem to be a problem with an application rather than with using the command. If the tables have proper constraints (e.g., cascading DELETEs, etc.,) and transactions are processed under commitment control, it should be more difficult to use the command wrongly. Tom
    125,585 pointsBadges:
    report
  • TomLiotta
    Is it possible to use the same receiver by clearing the records and with out deleting it? No. Tom
    125,585 pointsBadges:
    report
  • philpl1jb
    Once again, You sould change the jrn to the next receiver back-up the receiver delete the receiver Keep the backup so you can use the receiver in investigations/data corrections. Phil
    49,610 pointsBadges:
    report
  • Abigail
    You can regenerate a new receiver (example: CHGJRN JRN(QUSRDIRDB/QSQJRN) JRNRCV(*GEN). Dave and delete the old one(s).
    645 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following