Log manager waits
Read this section if the resource type your task is waiting on starts with the characters LG, indicating log manager.
The journal name, given as the resource name, refers to the last element of the MVS™ log stream name. For example, in the log stream name PAYRO.ACC0001.UJ4321, the journal name, for these purposes, is UJ4321. If you do encounter any of these waits, look at the MVS console for messages prefixed with ‘IXG'. These are the MVS system logger messages and might provide further information about the cause of the wait. The MVS system console might also reveal evidence of resource contention within MVS, a possible cause of a log manager wait.
If the task is writing to a journal on an SMF log, the journal name is the name of the journal.
Do not use the SET TASK command to remove tasks that are waiting for the log manager resource types. If you use this command to purge the task, CICS® ignores the command. If you use the FORCEPURGE or KILL options, the CICS region might fail.
- Resource type LG_DEFER
- The task is the first task to request that the currently active log buffer be flushed. The task waits for 30 milliseconds to allow other tasks to append more records to the buffer.
- Resource type LG_FORCE
- The task is waiting for the flush of a log buffer to complete. It is resumed by the task that performs the flush operation. The task can be purged if the log stream is not DFHLOG, the primary system log.
- Resource type LG_RETRY
- This is a temporary error, reading or writing a log from a log stream. CICS waits and retries the operation.
- Resource type LGDELALL
- During an initial start of CICS, CICS calls the MVS system logger macro IXGDELET ALL. CICS waits until the MVS system logger posts the ECB.
- Resource type LGDELRAN
- During keypoint processing, CICS calls the MVS system logger macro IXGDELET RANGE. CICS waits until the MVS system logger posts the ECB.
- Resource type LGENDBLK
- During an emergency restart of CICS, or transaction backout, CICS calls the MVS system logger macro IXGBRWSE END. CICS waits until the MVS system logger posts the ECB.
- Resource type LGENDCRS
- During an emergency restart of CICS, CICS calls the MVS system logger macro IXGBRWSE END. CICS waits until the MVS system logger posts the ECB.
- Resource type LGFREVER
- When CICS is quiescing and a dynamic backout fails because a task fails to read the system log, the task is suspended 'forever' to allow other tasks to continue to back out. The SDTRAN process deletes these suspended tasks during CICS shutdown.
- Resource type LGHARTBT
- The log manager 'heartbeat' system task checks that the MVS Logger connection to the system log is still valid. The task is in this wait state most of the time. There must be one task in this state on the system.
- Resource type LGREDBLK
- During an emergency restart of CICS, or transaction backout, CICS calls the MVS system logger macro IXGBRWSE READBLOCK. CICS waits until the MVS system logger posts the ECB.
- Resource type LGREDCRS
- During an emergency restart of CICS, CICS calls the MVS system logger macro IXGBRWSE READCURSOR. CICS waits until the MVS system logger posts the ECB.
- Resource type LGSTRBLK
- During an emergency restart of CICS, or transaction backout, CICS calls the MVS system logger macro IXGBRWSE START. CICS waits until the MVS system logger posts the ECB.
- Resource type LGSTRCRS
- During an emergency restart of CICS, CICS calls the MVS system logger macro IXGBRWSE START. CICS waits until the MVS system logger posts the ECB.
- Resource type LGWRITE
- In several situations, CICS calls the MVS system logger macro IXGWRITE. CICS waits until the MVS system logger posts the ECB.