Previous Topic: ExamplesNext Topic: MAINTAIN INDEX


Sample Output

Lock by area

When LOCK processing is completed, the following listing is generated when processing is successful.

IDMSBCF nn.n CA IDMS Batch Command Facility mm/dd/yy PAGE 1 LOCK AREA EMPDEMO.EMP-DEMO-REGION; Status = 0 SQLSTATE = 00000

When LOCK processing is completed, the following listing is generated when processing fails.

IDMSBCF nn.n CA IDMS Batch Command Facility mm/dd/yy PAGE 1 LOCK AREA USERDB.EMP_AREA; Status = -4 SQLSTATE = 5000B Messages follow: DB002352 C-4M353: Area USERDB.EMP_AREA required area lock mode not available

Lock by segment

When LOCK processing is completed, the following listing is generated.

IDMSBCF nn.n CA IDMS Batch Command Facility mm/dd/yy PAGE 1 LOCK SEGMENT EMPDEMO; Area EMPDEMO.EMP-DEMO-REGION was not available Area EMPDEMO.INS-DEMO-REGION Lock Mode Acquired Area EMPDEMO.ORG-DEMO-REGION Lock Mode Acquired Status = -4 SQLSTATE = 28000 Messages follow: DB002406 C-4M363: Area lock mode unavailable for one or more areas

Note: For more information about area locks, see the CA IDMS Database Administration Guide.