[z/OS]

Starting CTRACE while WebSphere Application Server for z/OS servers are active

Use this page to start CTRACE when a WebSphere® Application Server for z/OS® server already is active.

Before you begin

Make sure that you have properly prepared CTRACE controls and resources as described in Preparing CTRACE controls and resources.

About this task

If you start a WebSphere Application Server for z/OS server before starting the CTRACE writer for WebSphere, the server still gathers data in its trace buffers. This trace data is not available for use unless you follow this procedure or until a dump of the server address space is taken.

Perform the following steps to start CTRACE when a WebSphere Application Server for z/OS server already is active:

Procedure

  1. Perform the following tasks.
    1. Start the CTRACE external writer.
      Use the following operator command:
      TRACE CT,WTRSTART=procname 
      where procname is the name of the cataloged procedure for the CTRACE writer.
    2. If necessary, connect WebSphere Application Server for z/OS to a CTRACE writer other than the one specified in the CTIBBO xx parmlib member.
      1. Use this operator command:
        TRACE CT,ON,COMP=cell_short_name
      2. You will be prompted for additional options. Enter the following reply:
        REPLY x,WTR=procname,END 
        where procname is the name of the cataloged procedure for the CTRACE writer.
    The CTRACE external writer begins writing the server's trace data to the location specified through the WebSphere variable ras_trace_outputLocation.
  2. When you need to collect trace data for analysis, perform these steps.
    1. Disconnect WebSphere Application Server for z/OS from CTRACE.
      1. Use the following operator command:
        TRACE CT,ON,COMP=cell_short_name
      2. You will be prompted for additional options. Enter the following reply:
        REPLY x,WTR=DISCONNECT,END
    2. Stop the CTRACE external writer.
      Use the following operator command:
      TRACE CT,WTRSTOP=procname 
      where procname is the name of the cataloged procedure for the CTRACE writer.
Task topic    

Terms and conditions for information centers | Feedback

Last updated: April 20, 2014 08:46 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=phil&product=was-nd-mp&topic=ttrb_startCTRACEactive
File name: ttrb_startCTRACEactive.html