|
Amitava,
The only way to change the image from *AFTER to *BOTH is to end journaling
and start journaling of the file. At some point this must be happening.
The command STRJRNPF. I would also recommend that journal entries to be
omitted be changed to omit *OPNCLO.
PHYSICAL FILE TO BE JOURNALED . NAME
LIBRARY . . . . . . . . . . . *LIBL
NAME, *LIBL, *CURLIB
+ FOR MORE VALUES
*LIBL
JOURNAL . . . . . . . . . . . .
NAME
LIBRARY . . . . . . . . . . . *LIBL
NAME, *LIBL, *CURLIB
RECORD IMAGES . . . . . . . . . *AFTER *AFTER,
*BOTH
JOURNAL ENTRIES TO BE OMITTED . *NONE *NONE, *OPNCLO
It appears that there is some processing that journaling is being turned
off. The command ENDJRNPF is the way journaling is ended, and this command
requires that the file not be used. Using the DSPFD on the file can assist
in when journaling was last started and if it is currently being journaled.
You can check the journal itself to seen when journaling was ended on the
file by using the following command:
JOURNAL . . . . . . . . . . . . > journal_name
NAME, *INTSYSJRN
LIBRARY . . . . . . . . . . . >
journal_library NAME, *LIBL, *CURLIB
JOURNALED PHYSICAL FILE:
FILE . . . . . . . . . . . . . > file_name
NAME, *ALLFILE, *ALL
LIBRARY . . . . . . . . . . >
library_name *LIBL, *CURLIB
MEMBER . . . . . . . . . . . .
NAME, *FIRST, *ALL
+ FOR MORE VALUES
RANGE OF JOURNAL RECEIVERS:
STARTING JOURNAL RECEIVER . . *CURRENT
NAME, *CURRENT, *CURCHAIN
LIBRARY . . . . . . . . . .
NAME, *LIBL, *CURLIB
ENDING JOURNAL RECEIVER . . .
NAME, *CURRENT
LIBRARY . . . . . . . . . .
NAME, *LIBL, *CURLIB
STARTING SEQUENCE NUMBER . . . . *FIRST
STARTING DATE AND TIME:
STARTING DATE . . . . . . . .
DATE
STARTING TIME . . . . . . . .
TIME
MORE...
ENDING SEQUENCE NUMBER . . . . . *LAST
ENDING DATE AND TIME:
ENDING DATE . . . . . . . . .
DATE
ENDING TIME . . . . . . . . .
TIME
NUMBER OF JOURNAL ENTRIES . . . *ALL
NUMBER, *ALL
JOURNAL CODES:
JOURNAL CODE VALUE . . . . . . > F
*ALL, *CTL, A, B, C, D, E...
JOURNAL CODE SELECTION . . . . *ALLSLT
*ALLSLT, *IGNFILSLT
+ FOR MORE VALUES
JOURNAL ENTRY TYPES . . . . . . > EJ
CHARACTER VALUE, *ALL, *RCD
+ FOR MORE VALUES
JOB NAME . . . . . . . . . . . . *ALL
NAME, *ALL
USER . . . . . . . . . . . . .
NAME
NUMBER . . . . . . . . . . . .
000000-999999
PROGRAM . . . . . . . . . . . . *ALL
NAME, *ALL
USER PROFILE . . . . . . . . . . *ALL
NAME, *ALL
MORE...
Once the journal entry is presented, display the entry, that will identify
the program that ended it and the time and date journaling was ended on the
file.
Sure hope this helps.
Bill Finch
finchb@xxxxxxxxxxxxxxxx
"Amitava Banerjee"
<Amitava.Banerjee@xx To:
<midrange-l@xxxxxxxxxxxx>
in.net> cc:
Sent by: Subject: Journaling question
midrange-l-bounces@x
idrange.com
06/09/2003 02:49 PM
Please respond to
Midrange Systems
Technical Discussion
Hi Group,
We work in AS/400. I have a very little knowledge in journaling.
One file is being journaled, but it is seen that every 7th day, it is
doing 'After' and 'Before' images of the records, but all other days it
keeps only 'After' images. The file has '*AFTER' in its 'journal images'
parameter.
My questions are
i) How every 7th day, it is having both 'After' and 'Before' images?
>From where is it being controlled?
ii) I want it to have both images for every transaction. Before this
file had '*BOTH' in the 'journal images' parameter. But it still had the
same kind of information (i.e., both images every 7th day, and only 'After'
images all other days). So, what should I do to have both images always?
TIA
Amitava
_______________________________________________
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.