This topic applies only on the z/OS operating system.

Starting CTRACE as part of WebSphere Application Server for z/OS initialization

You can start CTRACE as part of the initialization process for a WebSphere Application Server for a z/OS cell using this information.

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

Perform the following steps to start CTRACE as part of the initialization process for a WebSphere Application Server for z/OS cell:

Procedure

  1. Start the CTRACE external writer.
    • If you want the external writer to write records to the trace data set until the existing extents are full then overwrite the oldest records, use the following MVS console command:
      TRACE CT,WTRSTART=procname
      where procname is the name of the cataloged procedure for the CTRACE writer.
    • If you want the external writer to fill all primary and secondary extents then terminate, add the NOWRAP option as in the following example:
      TRACE CT,WTRSTART=procname,NOWRAP
    • If the CTIBBOxx member for the cell contains a WTRSTART parameter, then no command is necessary. If the external writer is not started, WebSphere Application Server will start it automatically.
  2. Start the WebSphere Application Server for z/OS application server using the generated instructions.
  3. 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

(Index)

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

This feature requires Internet access.

Task topic    

Terms of Use | Feedback

Last updated: Aug 29, 2010 8:25:23 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=vela&product=was-nd-zos&topic=ttrb_startCTRACEwas
File name: ttrb_startCTRACEwas.html