Running IDMSBCF with ARCHIVE LOG abends with error:
BAD BIND ON AREA
ERROR STATUS = 0966
Release: All supported releases.
The 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.
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;