The temp-table log entry type enables specific logging for temp-tables so that application developers and technical support engineers can gather more information about the temp-tables used by an application. The temp-table entry type provides the following information:
temp-table name
temp-table unique ID
Number of indexes created for a temp-table
Number of times the EMPTY TEMP-TABLE method executed
Procedure or class name and line where temp-table was created, deleted or emptied
Number of records, and record size.
A temp-table is defined at compile-time using the CREATE TEMP-TABLE statement. The temp-table logging only logs an entry once the dynamic temp-table is prepared, that is, when all its schema definitions are known and when the actual temp-table is created. The CREATE TEMP-TABLE statement does not create the actual temp-table at once, but only when the temp-table is prepared.
The Temp-tables log entry type logs information at the following logging levels:
Level 2 (Basic)
Level 3 (Verbose)
Level 4 (Extended)
The log entry type is available to any ABL client, including the AppServer servers, WebSpeed agents and interactive and batch ABL clients.
The format of the log entries at the Basic logging level are: