Jump to: navigation, search

In the Column List:

  • P = Primary key
  • M = Mandatory field
  • F = Foreign key
  • In the Data Type column, varchar/nvarchar means that the data type is varchar except in multi-language databases that use Unicode, in which case the data type is nvarchar.

Table G_LOG_MESSAGES


This table stores messages from the stored procedures about merge operations, purge operations, and stuck calls.

Tip
To assist you in preparing supplementary documentation, click the following link to download a comma-separated text file containing information such as the data types and descriptions for all columns in this table: Download a CSV file.

Hint: For easiest viewing, open the downloaded CSV file in Excel and adjust settings for column widths, text wrapping, and so on as desired. Depending on your browser and other system settings, you might need to save the file to your desktop first.

Column List

Legend

Column Data Type P M F Description
ID numeric(16) X X The unique, autonumbered ID of this record. This is the primary key.
MESSAGE_ID int ID of log event. This is the same ID that is documented in Framework Combined Log Events. This is ID recognized by Message Server.
TIMEGENERATED datetime The GMT-equivalent date and time when the message was generated.
TIMEWRITTEN datetime The date and time when the message was written.
PRIORITY int Specifies priority of the log message. For a listing of permissible values, refer to G_Dictionary Values (for DB2Microsoft SQL Server, Oracle, or PostgreSQL, respectively).

#DICTIONARY TYPE 32

ORIGIN int Specifies the origin of the log message. For a listing of permissible values, refer to G_Dictionary Values (for DB2Microsoft SQL Server, Oracle, or PostgreSQL, respectively).

#DICTIONARY TYPE 34

CATEGORY int Specifies category of the log message. One of the following values:
  • 0—Default.
  • 1—Alarm.
  • 2—Audit.

#DICTIONARY TYPE 33

DATALEN int Size of the buffer required to get packed attributes associated with this log event.
APPDBID int The value for this field is always NULL.
APPTYPE int The type of application that is related to this log event.
APPNAME varchar(255) Name of the application having APPDBID that is related to this log event. If the application is ICON itself, then this field provides the name of the stored procedure which created this record in the following format:


ICON DB: <stored procedure name>
For example:
ICON DB: GSYSPurge81

HOSTNAME varchar(128) Name of the host where the application related to this log event runs.
MESSAGETEXT varchar(255) The text of the message. For ICON purge operations, this field stores information about either the name of the table being purged and its purge status or the status of a purge partition; for example:


GSYS_PURGE_PARTITION purge started...
IDB:Purge-table:G_CALL_STAT initiated...
IDB:Purge-table:G_CALL_STAT completed...
...
GSYS_PURGE_PARTITION purge completed

If, for some reason, the purge procedure cannot start, ICON logs "ERROR:wrong parameters" to this field.

This page was last edited on January 10, 2020, at 15:27.
Comments or questions about this documentation? Contact us for support!