IBM Support

Collect troubleshooting data for a wait or loop in CICS TS for z/OS

Technote (troubleshooting)


Problem(Abstract)

You are having a wait or loop problem in CICS Transaction Server for z/OS (CICS TS). You would like to know what documentation you must collect (MustGather) so that the CICS Support team can diagnose your problem. If you gather this documentation before contacting support it will expedite the troubleshooting process, and save you time.

Cause

A wait or hang can occur for many different reasons. For example, the region could be at the MXT limit in which case no new tasks can be attached or the region could be waiting for an ECB to be posted. A loop is the repeated execution of some code.

Resolving the problem

For the most up-to-date documentation, refer to Collecting CICS troubleshooting data (MustGather) for IBM Support in the CICS TS documentation. You will find the General information you should gather for every type of problem followed by the Component-specific information which includes Troubleshooting data for wait or loop problems.

The following is the original MustGather information:







Collecting general information for all problems

If you have already contacted IBM Support, you can continue on to the component-specific MustGather information. Otherwise, go to Collect troubleshooting data for CICS products - Read first.







Collecting data for (component) problems

If you suspect that the problem is due to another IBM product or subsystem like MVS system logger, DB2, VSAM, or RLS see the MustGather document for that particular component. Otherwise, gather the following documentation for the wait or loop before calling IBM support:

Required (MustGather) data:

  • CICS internal trace that is included in the MVS system dump when tracing is active. The trace should be at least 10240K and when possible level 1 tracing should be on for all CICS components.

  • An MVS system dump of the CICS region taken as soon as you notice the hang or wait. Use the following MVS command followed by the reply to capture the dump:

    DUMP COMM=(dumpname)
     R yy,JOBNAME=(
    cicsjob),
     SDATA=(ALLNUC,PSA,SQA,CSA,LPA,TRT,LSQA,RGN)


    where dumpname is the name you want to give the dump, yy is the reply id, and cicsjob is the job name of your CICS region.

  • CPU utilization for the CICS region. Enter S.DA when using SDSF under TSO, to display the active CICS job. Enter PF11 to display the CPU% which is the percent of CPU time used on behalf of this address space during the most recent interval measured.


Optional (MustGather) data:
  • CICS message log containing the last message created by CICS and the time the message was created.

  • If you are able to recreate the problem, consider using CICS auxiliary trace or GTF Trace in combination with the MVS system dump. The dump is unlikely to tell you anything about system activity in the period leading up to the wait or loop. This is because the trace table will probably wrap before you have had a chance to respond.





Troubleshooting hints and tips

Diagnostic tips:

  • Review the logs and dumps generated at the point of failure.
  • Search the CICS support site for known problems using symptoms like the message number and error codes.
  • If you find a fixing PTF, see Ordering CICS products and maintenance for the options that are available to order CICS maintenance.
  • Gather the documentation and work with the CICS support team to resolve your problem.

Learn more about (component):


Exchanging data with IBM Support

  1. See Exchanging information with IBM Technical Support for FTP and email instructions using the IBM Enhanced Customer Data Repository (ECuRep).
  2. Go to the Service Request page to open or update a problem. If you have a SoftwareXcel enterprise edition for zSeries contract, you can also ask a non-defect installation and usage questions.

    Note: Always update your Service Request (problem record) to indicate that data has been sent.

If you need to speak to an IBM technical support representative call your country representative. If you need to speak to an IBM technical support representative in the US, call 1-800-IBM-SERV.

Product Alias/Synonym

CICS/TS CICS TS CICS Transaction Server

Document information

More support for: CICS Transaction Server
Dispatcher Domain

Software version: 4.1, 4.2, 5.1, 5.2, 5.3, 5.4

Operating system(s): z/OS

Reference #: 1214981

Modified date: 18 June 2018