Bruce Vining wrote:
The following will catch deletions on V5R4:
STRJRN OBJ(('/myplaydir')) JRN('/qsys.lib/vining.lib/ifsjrn.jrn')
SUBTREE (*ALL)
I vaguely recall seeing something on the customer box about the
directory being journaled, and I vaguely recall looking for journal
entries documenting the deletions, without success, and concluding that
STMF deletions weren't included in the journaling.
I just tried an experiment on our V6 box:
CRTJRNrcv JRNRCV(MERCURY/FOOBARJRN1)
Journal receiver FOOBARJRN1 created in library MERCURY.
CRTJRN JRN(MERCURY/FOOBARJRN) JRNRCV(MERCURY/FOOBARJRN1)
Journal FOOBARJRN created in library MERCURY.
STRJRN OBJ(('/foobar')) JRN('/qsys.lib/mercury.lib/foobarjrn.jrn')
SUBTREE(*ALL)
5 of 5 objects have started journaling.
(At the time, /foobar contained 4 STMFs, including one I'd just created,
called "foo")
edtf '/foobar/bar'
(after putting meaningless text into "bar," I exited EDTF, and found
myself with 5 STMFs in /foobar.)
I tried several variations on DSPJRN JRN(FOOBARJRN), none of which
showed me any entries to indicate the creation of /foobar/bar.
I deleted /foobar/foo and /foobar/bar.
I tried more variations on DSPJRN, none of which showed any entries to
indicate that foo or bar had ever existed, and one of which,
DSPJRN JRN(FOOBARJRN) OBJPATH(('*')) SUBTREE(*ALL)
sat there for a while, before abending with:
User not enrolled in system distribution directory.
File system error occurred. Error number 3474.
I then created /foobar/frobozz, and repeated the last variation
DSPJRN JRN(FOOBARJRN) OBJPATH(('/foobar/*')) SUBTREE(*ALL) INCHIDENT(*YES)
It came back with entries for the three STMFs that were there before I
added /foobar/foo, but no entry to show the creation of /foobar/frobozz.
Now what?
--
James H. H. Lampert
Touchtone Corporation
As an Amazon Associate we earn from qualifying purchases.