You can start CTRACE as part of the initialization process
for a WebSphere® Application Server for a z/OS® cell
using this information.
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
- 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.
- Start the WebSphere Application Server
for z/OS application server using the generated
instructions.
- When you need to collect trace data for analysis, perform
these steps.
- Disconnect WebSphere Application Server
for z/OS from CTRACE.
- Use the following operator command:
TRACE CT,ON,COMP=cell_short_name
- You will be prompted for additional options. Enter the following
reply:
REPLY x,WTR=DISCONNECT,END
- 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.