search cancel

Is there a way to write the TPXLOG message's to the syslog so that automation can address it.

book

Article ID: 51352

calendar_today

Updated On:

Products

TPX - Session Management

Issue/Introduction

You can use the LOG WRITER exit to accomplish this.

Environment

Release: 5.4
Component: TPX for Z/Os

Resolution

The TPX LOG WRITER exit can be used to populate the SYSLOG based on the choice of message's.

The Log Writer exit is called after a TPX LOG message has been formatted but before it has been written to the LOG DD.
The exit can selectively write the message to the console or tell TPX to discard the message.

By default the exit issues messages to the TPX log.
One can write their own WTO macro to have selected messages go to the console which goes to the SYSLOG.
Then trigger automation based upon these messages.