Show TOC

Log DisplayLocate this document in the navigation structure

Use

Overview

If you have set the operation mode for Assertions to Log for a checkpoint group, a log entry is created when the relevant point in the program is executed, provided the logical expression after the CONDITION addition to the ASSERT statement is not fulfilled. Also, a log entry will be created if a LOG-POINT statement is executed and the operation mode for logpoints is set to Log. You can display these entries in display or change mode on the Log tab.

Displaying the Log

When you display the group and open the Log tab for the first tame, the system reads all log entries for all servers. You can also update the log display at any time by choosing Refresh. The following options are available in the dropdown menu:

  • Refresh (All Servers)

  • Refresh (Local Server)

The following information is displayed in the log:

  • The name of the checkpoint group.

  • Information about the point in the program (program name, procedure, include, line)

  • Ínformation on error situations (number of errors, date and time of last occurrence, additional information specified by the SUBKEY and FIELDS additions to the ASSERT or LOG-POINT statements).

In addition, the following functions are available in the log display menu:

  • Display Details

  • Display Source Code

  • Delete Log Record

These functions are also in the context menu: Open a log entry until the end node is displayed at the lowest level and click with the right mouse button.

The detail display shows all the above information at a glance. Furthermore, the Fields field contains the contents of the fields or structures specified after the FIELDS addition to the ASSERT or LOG-POINT statement.

Two display variants are available for the log display:

  • ID / SUBKEY / Program / Procedure

  • ID / Program / Procedure / SUBKEY