WebSphere Application Server Version 6.1 Feature Pack for Web Services
             Operating Systems: z/OS

             Personalize the table of contents and search results
This topic applies only on the z/OS operating system.

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.



In this information ...


Related reference

IBM Redbooks, demos, education, and more


Use IBM Suggests to retrieve related content from ibm.com and beyond, identified for your convenience.

This feature requires Internet access.

IBM Suggests
Task topic    

Terms of Use | Feedback

Last updated: Nov 25, 2008 2:35:59 AM CST
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/index.jsp?topic=/com.ibm.websphere.wsfep.multiplatform.doc/info/ae/ae/ttrb_startCTRACEactive.html