Archiving a trace log data set


Use BBSAMP member CMRBARC to set up a started task for automatic archiving of a TLDS.

It is executed when a data set is full, when logging is switched to another data set, or when the trace completes. This procedure has two steps:

  1. Unload the trace log data set to a GDG data set.
  2. Type PGM=JXTRES to mark the trace log data set as RESET in header.You can add a step to print the trace if desired.

    You also can use this member as a pattern to create a job to archive or reset a log data set. It can be invoked from the History Traces dialog if previously defined for a trace. Otherwise, it must be submitted manually.



 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

MainView for CICS 7.1