+

Search Tips | Advanced Search

Changes for archive logs

Use this topic to understand how to change the archive logs.

We can add to, delete from, and change the password of, entries in the BSDS for archive logs. Examples only are shown here; replace the data set names shown with the ones we want to use. For more details of the utility, see The change log inventory utility.

    Adding an archive log
    When the recovery of an object depends on reading an existing archive log data set, the BSDS must contain information about that data set so that IBM MQ can find it. To register information about an existing archive log data set in the BSDS, use:
    NEWLOG DSNAME=CSQARC1.ARCHLOG1.E00021.T2205197.A0000015,COPY1VOL=CSQV04,
    UNIT=TAPE,STARTRBA=3A190000,ENDRBA=3A1F0FFF,CATALOG=NO
    

    Delete an archive log
    To delete an entire archive log data set on one or more volumes, use:
    DELETE DSNAME=CSQARC1.ARCHLOG1.E00021.T2205197.A0000015,COPY1VOL=CSQV04
    

    Change the password of an archive log
    If we change the password of an existing archive log data set, we must also change the information in the BSDS.
    1. List the BSDS, using the print log map utility.
    2. Delete the entry for the archive log data set with the changed password, using the DELETE function of the CSQJU003 utility (see topic The change log inventory utility ).
    3. Name the data set as for a new archive log data set. Use the NEWLOG function of the CSQJU003 utility (see topic The change log inventory utility ), and give the new password, the starting and ending RBAs, and the volume serial numbers (which can be found in the print log map utility output, see The print log map utility ).

    To change the password for new archive log data sets, use:

    ARCHIVE PASSWORD= password
    
    To stop placing passwords on new archive log data sets, use:
    ARCHIVE NOPASSWD
    
    Note: Only use the ARCHIVE utility function if we do not have an external security manager.

Parent topic: Change the BSDS

Last updated: 2020-10-04