Your IBM i Journal keeps a log of events — just like your Diary!
What is a Journal?
A journal is an IBM i Tool which spends its time monitoring any given library/file (or table.schema for those that prefer SQL speak) looking for data updates, additions, deletes and more.
It even records things like programs opening the file to read it… and then deciding not to. It’s the Sherlock Holmes of data storage
What is a Journal Receiver?
The receiver is the bucket that the journal stores all the information it has to record within. Think of the Journal as a funnel, filtering and choosing which data to drip into the receiver.
Think of the receiver as a bucket that fills up (it can be created with various different sizes, ranging from a little sand castle bucket to something the size of a jacuzzi tub).
Don’t worry when the receiver gets full, you just roll it out of the way and roll in a new, fresh receiver for the journal to continue filling.
So – one journal can have many journal receivers.
“Don’t worry when the receiver gets full, you just roll it out of the way and roll in a new, fresh receiver for the journal to continue filling.”
can you offer any insights on how to delete old receivers by date?
You can do it manually with WRKJRNRCV – (1) remember to backup your journal receivers before deleting them and (2) always delete them from oldest to newest
I wrote a simple CL to do exactly this https://www.nicklitten.com/how-to-delete-old-journal-receivers-jrnrcv/
You can copy the code and make your own tweaks to it…