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

Before you begin

Make sure you have properly prepared CTRACE controls and resources as described in Steps for preparing CTRACE controls and resources

Why and when to perform 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:

Steps for this task

    • Use the following operator command to start the CTRACE writer address space: TRACE CT,WTRSTART= writer_name where writer_name is the name of the JCL start procedure for the CTRACE writer that is specified in the WebSphere Application Server for z/OS CTIBBO xx parmlib member.
    • To connect WebSphere Application Server for z/OS to a CTRACE writer other than the one specified in the CTIBBO xx parmlib member, also enter these operator commands: TRACE CT,ON,COMP= cell_short_name REPLY x,WTR= writer_name, END where cell_short_name is the value specified through the ISPF customization dialog to identify the location of server configuration files (the name must be 8 or fewer characters and all uppercase) and writer_name is the name of a JCL start procedure for a CTRACE external writer. The JCL start procedure must reside in the system's proclib.
    The CTRACE external writer begins writing the server's trace data to the location specified through the WebSphere variable ras_trace_outputLocation
  1. When you need to collect trace data for analysis:
    1. Use the following operator command to disconnect WebSphere Application Server for z/OS from CTRACE: TRACE CT,ON,COMP= cell_short_name REPLY x,WTR=DISCONNECT,END
    2. Use the following operator command to stop the CTRACE writer address space: TRACE CT,WTRSTOP= writer_name where writer_name is the name of the JCL start procedure for the CTRACE writer.

Related reference
Viewing CTRACE and JRas data through IPCS



Searchable topic ID:   ttrb_startCTRACEactive
Last updated: Jun 21, 2007 9:56:50 PM CDT    WebSphere Application Server for z/OS, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.websphere.zseries.doc/info/zseries/ae/ttrb_startCTRACEactive.html

Library | Support | Terms of Use | Feedback