gtps1m0tSystem Macros

$LCKRC-Lock a Virtual File Access (VFA) Shared Lock or Exclusive Lock

Use this system macro to lock a virtual file access (VFA) shared lock or exclusive lock.

Format




label
A symbolic name can be assigned to the macro statement.

LOCK
Specifies the type of lock, where:

VFAS
Specifies shared lock.

VFAX
Specifies exclusive lock.

Entry Requirements

Register 5 (R5) must contain the address of the VFA buffer control area (BCA) only.

Return Conditions

Programming Considerations

Examples

The following example shows you how to lock an exclusive lock using this macro.

$LCKRC LOCK=VFAX