Implicit enqueuing on recoverable temporary storage queues

CICS® provides the enqueuing protection facility for recoverable temporary storage queues in a similar way to that for recoverable files on VSAM data sets.

There is one minor difference, however: CICS enqueuing is not invoked for READQ TS commands, thereby making it possible for one task to read a temporary storage queue record while another is updating the same record. To avoid this, use explicit enqueuing on temporary storage queues where concurrently executing tasks can read and change queue(s) with the same temporary storage identifier. (See Explicit enqueuing (by the application programmer).)

Temporary storage control commands that invoke implicit enqueuing are:
  • WRITEQ TS
  • DELETEQ TS