CSQJ160I How to find CICS associated long-running UOWs

Technote (troubleshooting)


Problem(Abstract)

You want to find the LONG-RUNNING UOW from the URID in the following message:

CSQJ160I xxxx CSQJLRUR LONG-RUNNING UOW FOUND,
URID=00281DF0177B CONNECTION NAME=TCICS

Long running units of work can also be identified by the presence of message CSQR026I in the job log.

Symptom

CSQJ160I xxxx CSQJLRUR LONG-RUNNING UOW FOUND, URID=00281DF0177B CONNECTION NAME=TCICS

CSQR026I Long-running UOW shunted to RBA=rba, URID=urid connection name=name

Cause

The UOW identified by message CSQJ160I has spanned at least two or more active logs and is now being archived.


Message CSQR026I indicates that a task has existed for more than three queue manager checkpoints and its log records have been shunted. For a description of log record shunting, see WebSphere MQ for z/OS Concepts and Planning Guide


Environment

CICS

Diagnosing the problem

The DISPLAY CONN command will identify the application associate with long running units of work (UOW).

Resolving the problem

1. From WebSphere MQ, when the CSQJ160I is seen, for example:


CSQJ160I xxxx CSQJLRUR LONG-RUNNING UOW FOUND,
URID=00281DF0177B CONNECTION NAME=TESCICS.

Issue some DISPLAY THREADs to list out the threads MQ knows about. Do this from a batch CSQUTIL job, so that we get all of the data and retain a hardcopy.

a. DISPLAY THREAD(*) TYPE(ACTIVE)
b. DISPLAY THREAD(*) TYPE(INDOUBT)

The list contains a column titled THREAD-XREF. Use the data in this column to match the MQ UOWs with those in CICS. For example, The:

DISPLAY THREAD(*) TYPE(INDOUBT) output:

CSQV401I QP05 DISPLAY THREAD REPORT FOLLOWS -            
CSQV406I QP05 INDOUBT THREADS
NAME          THREAD XREF             URID               NID
TESCICS  2E4A93F8C4C3E2F80000055C 00281DF0177B.BE38699579723BE0

The Thread XREF looks like '2E4A93F8C4C3E2F80000055C '. This breaks down to:

2E4A93F8C4C3E2F80000055C = CICS TASK number
2E4A93F8C4C3E2F80000055C = EBCDIC 'C4C3E2F8' is hex for 'DCS8' - the cics tran name

Also make a note of the MQ URID - 00281DF0177B this is the MQ unit of work id.

2. Since CICS is the UOW coordinator.

  • Issue CEMT INQ UOW to obtain all of the operands displayed, but of immediate interest are:

    a. UOWid
    b. Task number
    c. Transaction name
    d. UOW State
    e, Waitcause
    f. Waitstate
  • Using the Uowid and Task Number issue CEMT INQ UOWLINK to obtain all of the operands but of immediate interest are:

    1 RESYNCSTATUS
    2 LINK
    3 RMIQFY
    4 TYPE
Review the CICS Systems Programmers Reference for the meaning of these commands, operands and the values returned.

If the long running task is associated with the CHIN, refer to Technote # 1153629

Historical Number

84553004

Product Alias/Synonym

WMQ MQ

Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

WebSphere MQ
Function

Software version:

6.0, 7.0, 7.0.1, 7.1

Operating system(s):

OS/390, z/OS

Reference #:

1236943

Modified date:

2013-08-27

Translate my page

Machine Translation

Content navigation