Write the TPXLOG messages to the syslog so that automation can address it
search cancel

Write the TPXLOG messages to the syslog so that automation can address it

book

Article ID: 51352

calendar_today

Updated On:

Products

TPX - Session Management

Issue/Introduction

How to write the TPXLOG messages to the syslog so that automation can address it.

Environment

TPX® Session Management for z/OS

Resolution

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

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.
You can write your own WTO macro to have selected messages go to the console which goes to the SYSLOG.
Then trigger automation based upon these messages.