> From: Edward Jaffe
> Subject: Re: WTO from REXX under Unix System Services?
> Patrick O'Keefe wrote:
> I need to be able to issue a WTO from REXX running under Unix
> System Services on z/OS 1.8 and beyond.
[snip]
> Would somebody point me to a sample that does this, or at least
> point me to a manual describing it?
>
If you're running the standard shell you can also invoke the logger shell
command in Rexx as shown:
message = 'Hello World!'
rc = syscalls('ON')
address syscall 'open /dev/console' O_WRONLY 666
consolefd = RETVAL
address syscall 'write' consolefd 'message'
/* now test logger command */
'logger /u/k9830th/wto executed' <===
Jim Holloway
Mettropolitan Life Insurance Co.
The information contained in this message may be CONFIDENTIAL and is for the
intended addressee only. Any unauthorized use, dissemination of the
information, or copying of this message is prohibited. If you are not the
intended addressee, please notify the sender immediately and delete this
message.
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html