Running IDMSBCF with ARCHIVE LOG abends with error:
BAD BIND ON AREA
ERROR STATUS = 0966
The CA IDMS CV always readies the log area in retrieval mode. Only the log archive job will ready the area in update mode.
If an archive job fails, the area is left locked and subsequent ARCHIVE LOG commands will return the 0966 error status.
Release: IDADSO00100-18.5-ADS-for CA-IDMS
To resolve the error the SYSTEM.DDLDCLOG area needs to be unlocked before archiving the log.
Run IDMSBCF with the following input:
UNLOCK AREA SYSTEM.DDLDCLOG; ARCHIVE LOG;