0966 error-status in IDMSBCF ARCHIVE LOG
search cancel

0966 error-status in IDMSBCF ARCHIVE LOG

book

Article ID: 3990

calendar_today

Updated On:

Products

IDMS

Issue/Introduction

Running IDMSBCF with ARCHIVE LOG abends with error:

BAD BIND ON AREA
ERROR STATUS = 0966

Environment

Release: All supported releases.

Cause

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.

Resolution

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;