PowerExchange writes messages in one of two ways: direct logging of informational and warning messages or delayed logging by adding error messages to a message block.
Direct Logging
In direct logging, the calling application, such as a PowerExchange Listener, determines the destination for the informational and warning messages. Most informational and warning messages are directed to the log. Some messages are duplicated to standard output (stdout) and a small number of messages are sent to the operator's console on IBM i and z/OS. Processing continues.
Messages are written to the log file where PowerExchange runs. For example on z/OS, messages might be written to an alternative log file or to DD DTLLOG, depending on how logging is configured.
It is possible to generate a large quantity of messages from NRDB processing where a map specifies to continue processing after mapping or after data cleansing errors.
If an application such as PowerCenter was configured to retrieve messages, messages written to the logs are sent to the client and appear in the session log on the client machine.
Delayed Logging
When an application detects a fatal error, it adds messages to a message block and processing fails. The block contains message numbers and a maximum of 1000 bytes of substitution data to be used inside the messages.
If a PowerExchange Listener task fails, the block of messages is written to the following places:
The PowerExchange Listener log file
The client log file
The session log of the calling application, such as PowerCenter
Messages written to logs on IBM i and z/OS are in English.
Messages written to logs on Linux, UNIX, and Windows might be localized into languages such as Chinese, Japanese, Korean, Portuguese, or Brazilian.
Messages in the block only become visible in the client process after a failure. Otherwise, messages in the block are discarded.