Log Analyzer : Utilize secondary logs when primary logs are unavailable.
search cancel

Log Analyzer : Utilize secondary logs when primary logs are unavailable.

book

Article ID: 26052

calendar_today

Updated On:

Products

Log Analyzer for DB2 for z/OS

Issue/Introduction

Executing Log Analyzer (PLA) where the ARCHLOG1 dataset is migrated or not unavailable results in an allocation error. How to divert PLA to use the ARCHLOG2 backup / alternate archive logs instead?

 

 

Environment

Release: R20
Component: PLA

Resolution

There is an option in hlq.CDBAPARM member PLA to switch to ARCHLOG2 called LOGCOPY2.  When LOGCOPY2 is set to (Y) it will cause PLA to allocate COPY2 of DB2's active / archive logs before COPY1.

  • LOGCOPY2 (Y|N)
    Name in Panel: Use Log Copy2 before Copy1
    Specifies whether to use copy 2 of the active or archive Db2 logs before using copy 1. This parameter effects only jobs with LOGSRC = BSDS|MEMBER|GROUP. The following values are valid:
    Y (Yes)
    Uses copy 2 of the active or archive Db2 logs before copy 1.
     N (No)
    Uses copy 1 of the active or archive Db2 logs. This option is the default.

Additional Information

Specify the PLA Parmlib Options