Previous Topic Next topic Print topic


To trace the execution of a CICS service

  1. In Enterprise Server, be sure that you have enabled a TN3270 listener for the enterprise server instance that runs your service.
  2. From the Properties window for your service interface, set the Generated trace level, Runtime trace level, and Trace queue name properties.
    Note: If you leave the Trace queue name field blank, trace information goes to the default trace temporary storage (TS) queue, CEBRMQMW. By entering a name here you can specify your own trace TS queue.
  3. Deploy the service interface.
  4. If necessary, generate a client.
  5. Invoke your service, performing one or more transactions, then exit.
  6. Start your TN3270 emulator.
  7. On the initial panel of your TN3270 emulator, type one of the following:
    • MERQ queuename - For all CICS screen services, and for CICS commarea services for EBCDIC applications.
    • MARQ queuename - For CICS commarea services for ASCII applications.

    Where queuename is the trace queue name you specified in the Properties window, or the default name CEBRMQMW.

    This starts the trace viewer.

  8. Do one or more of the following:
    • To view details of a specific record, place your cursor at the beginning of the summary line for that record and press Enter.
    • To return to the summary page, press F3 or Enter.
  9. To exit the trace viewer, press F3.
Note: Other keys you can use to navigate in the trace viewer are:
F2 Toggle the display to show ASCII characters, EBCDIC characters, or both
F4 Purge the trace queue
F7 Scroll back half the length of the panel
F8 Scroll forward half the length of the panel
F9 Scroll back the full length of the panel
F10 Scroll forward the full length of the panel
F11 Scroll to the top
F12 Scroll to the bottom
Previous Topic Next topic Print topic