JOURNAL MANAGEMENT
Journal management provides a means by which you can record the activity of
objects on your system. When you use journal management, you create an
object called a journal. The journal records the activities of the objects you
specify in the form of journal entries. The journal writes the journal entries in
another object called a journal receiver.
The following is the steps to create and handle Journal Management:
1) Create journal receiver
2) Create journal
3) Start journal
4) Display journal
5) End journal
CRTJRNRCV
The first step for Journal Management is Create Journal Receiver. A journal
receiver name is advisable to have first 6 characters as name followed by 4 digits
start with 0001 (eg: JRNRCV0001). When the journal entries exist the threshold,
the system will automatically create next journal receiver named: JRNRCV0002
and so on.
1
CRTJRN
After create journal receiver, we need to Create Journal (CRTJRN) to attach with
journal receiver for journal entries.
Start Journal Command
2
STRJRNPF
In this lesson, we are going to journal a physical file in our current library.
STRJRNPF command will start journaling physical file(s) that we specified.
After we start journal for physical file (eg: STUDPF) that we specified, from now
on, any activities involved Open File, Close File and Physical File member
activities (ie: Add, Edit, Delete record) will be record in the journal receiver.
3
DSPJRN
Display Journal (DSPJRN) will list the journal entries from the journal receiver.
The diagram below is the example of Journal Entries.
4
End Journal Commands
ENDJRNPF
We can end the journal activities by using ENJRNPF (for physical file journal)
command. After we end the journal, any activities involved STUDPF, will no long
record in journal receiver.
5
CHGJRN
We can change the journal setting by using CHGJRN command.