CICS LOCKTIME And OPTIME Settings

Document ID : KB000049604
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

What is the difference between LOCKTIME and OPTIME which are CICS timeout related settings?

Solution:

LOCKTIME is a Facility parameter:

For example TSS MODI FAC(CICSPROD)
TSS9550I FACILITY DISPLAY FOR CICSPROD
TSS9551I INITPGM=DFH ID=C TYPE=004
TSS9554I UIDACID=8 LOCKTIME=030 DEFACID=*NONE* KEY=8

This will lockout users working in the CICS TOR region after 30 minutes.

OPTIME is on individual ACID or DFLTUSER. Adding a non-zero OPTIME to DFLTUSER gives a default value for OPTIME to any user who does not have a non-zero OPTIME already assigned.

OPTIME controls the period of time allowed before CICS considers a terminal user to be "timed-out". The action taken by CICS depends on a CICS parameter, SIGNOFF, which is specified in the TYPETERM definition. See the IBM documentation for more information about the use and setting of these fields.

CA-Top Secret provides the OPTIME field to support IBM CICS TIMEOUT functionality. When the user signs on, CA Top Secret places the OPTIME value into the user's TCTTE. CICS then scans the idle time for each terminal. When OPTIME/TIMEOUT is exceeded, CICS will take action based on the TYPETERM SIGNOFF parameter associated with the user's terminal.