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.
To resolve the error you need to unlock the SYSTEM.DDLDCLOG area before archiving the log.
Run IDMSBCF with the following input:
UNLOCK AREA SYSTEM.DDLDCLOG;