Deleting the application from component trace

You can delete an application from component trace by issuing the CTRACE macro with the DELETE parameter (CTRACE DELETE). After a CTRACE DELETE, component trace no longer honors TRACE CT operator commands against that trace. If you issue the CTRACE DELETE before the trace buffers are dumped, component trace no longer honors IPCS CTRACE subcommands against that application.

You should delete the application as part of the normal cleanup of resources. In the event of abnormal termination, you should include CTRACE DELETE as part of recovery or termination cleanup to avoid problems when you restart the application. Deleting the application from component trace prevents the system from displaying an inactive trace as active on the DISPLAY TRACE operator command.

Applications that use multiple traces should be careful when deleting their head level. Deleting a head level results in the deletion of all sublevel traces associated with that head level. See Using multiple traces for more information on multiple traces.