Previous Topic: When to UseNext Topic: Example JCL


How to Use

Multi-User mode is required to execute this command. Use the following command format to issue a LOCK function.

►►─ LOCK OPTION=MOVER,DBID=n,AREA=a ──────────────────────────────────────────►◄

Command

LOCK

Invokes the function that inhibits an update until the UNLOCK function is issued.

Required Keywords

OPTION=MOVER

Requests the option that inhibits movement of data records due to an update of a compressed data area.

,DBID=

Identifies the database you want to lock or protect during the backup.

Valid Entries:

DATACOM-ID of the database

Default Value:

(No default)

,AREA=

Identifies the area you want to lock or protect during the backup.

Valid Entries:

DATACOM-NAME of the area in the database specified

Default Value:

(No default)