Sending an Error Log Data Record

Use a basic conversation to send a log record when you detect an error or abnormally terminate a conversation. The basic conversation verbs enable you to specify an error log GDS variable when you report an error or abnormally terminate a conversation. LU 6.2 sends this log record to the local log and to the partner LU to be recorded in that log. This feature is useful when your program detects a critical or unrecoverable error and you want the program to record the event to help determine the problem.

If you send an error log GDS variable, the format of the record must conform to the formats defined by SNA. See the IBM® Systems Network Architecture Formats for more information on the error log GDS variable format.

Use a mapped conversation if you do not need to send a log record when you detect an error or abnormally terminate a conversation. The mapped conversation verbs assume that your program does not need to record error data in the log to help determine the problem.