Viewing log messages with the log print utility

With the log print utility, you can format and display messages that are written to a diagnostic or event log. You can summarize the log messages or filter them.

Procedure

  1. Configure the log print utility.
  2. Create filters for the output.
  3. Run the log print utility by following these steps:
    1. Bash into the container by running the following command:
      docker exec -it --workdir /classic/shell ClassicCDCVSAM bash
    2. Run the cacplog.sh script.

      If you run with no parameters, the current caclog log file is processed for diagnostic log messages without any filters. If you need to run for a prior version of the caclog file, you should make the first argument the caclog file when you submit cacplog.sh, for example:

      cacplog.sh
      caclog_bkp_1 cacplog.sh
      caclog_bkp_1 SUMMARY=Y

      When you need to print events you submit cacplog.sh with the EVENTS parameter. For example:

      cacplog.sh EVENTS=CEC.EVENT.LOG