Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

*ALLCHGRCV can be specified as a control group entry to save journal receivers that have not been saved since they were last changed.  This entry will include journal receivers that are attached to a journal and journal receivers that are not attached to a journal.

...

  1. Objects, that are journaled to the journal  associated with these journal receivers, must be saved with retain object detail *YES, *OBJ or *MBR.  If the object detail for the objects is not retained, *ALLDTCRCV will save all of the detached journal receivers every time it is run after BRMS maintenance has run instead of saving only the recently detached receivers.                        
  2. In releases IBM i 7.2 and earlier, to process journals in libraries that start with 'Q' when specified in object list QCHGJRNRCV or QDTCJRNRCV, the following PTFs or superseding PTFs are required:
        7.2 SI53306
        7.1 SI53305
        6.1 SI53304
  3. In release IBM i 7.2, to allow excluded journals in object list QCHGJRNRCV or QDTCJRNRCV, the following PTFs or superseding PTFs are required:
        7.2 SI53306
  4. QAUDJRN journal receivers in QSYS are saved at sequence 34 when a *SAVSYS is done. To restore these audit journal receivers, a RSTOBJ or WRKMEDIBRM Option 7, 7 and specify the name(s) of the receivers you want to restore. More details are available here. To list the journal receivers saved, use the following command
    • DSPTAP SEQNBR(34 34) DATA(*SAVRST) OUTPUT(*PRINT)
  5. When doing incremental saves and the receivers are in a library in an independent auxiliary storage pool (IASP), the IASP must be in the name space.  The IASP can be added to the name space by adding a *SETASPGRP entry to a control group prior to the *ALLCHGRCV or *ALLDTCRCV entry.


Example using *ALLDTCRCV with QDTCJRNRCV

...



As stated earlier, object list QDTCJRNRCV is a list of journals that will be used to generate a list of journal receivers.  For this example QDTCJRNRCV will contain the following entries:

SeqLibraryObjectTypeAttributeMemberInc/Exc
10LIBRARY1*ALL*ALL*ALL*ALL*INC
20LIBRARY2*ALL*JRNRCV*ALL*ALL*INC
30LIBRARY3JRNX*ALL*ALL*ALL*INC
40LIBRARY4*ALL*ALL*ALL*ALL*INC


Journal receivers will be included in the backup if they are detached from a journal, they were attached to a journal that matches an entry in QDTCJRNRCV, the journaled object has been saved with object detail and the journal receiver has not already been saved.  For this example, here are the results of running a control group with an *ALLDTCRCV entry:

...