Joined: 01 Sep 2006 Posts: 2019 Location: Silicon Valley
Is it possible to write the content of the file into syslog through REXX?
If I understand the thread: you have a program that will read syslog so that you can perform 'actions' based on certain messages. And now you want to test your 'actions' and in order to test, you need to trigger them by getting the messages into syslog.
You should be able to develop your 'actions' as subroutines. And have a test program that only pretends it got the message from syslog and then calls your subroutine.
to get messages in to syslog:
1. you need an authorized program to issue a WTO. The parm to the program should be the message to be written.
2. call the program from your rexx.
note: there are security / auditing implications here so you are unlikely to be allowed to create such a program.