Peter

Sending a message to the operator is surely indistinguishable from WTO - unless you miss some flexibility over the setting of the codes.

Sending a message to the operator (in effect, WTO) and then being able to intercept data entered using the MODIFY command is regarded by many - myself included - as superior to the use of WTOR in many programming systems.

In any case the OP didn't actually specify WTOR so the functions you mentioned may well be exactly what he/she needs.

Chris Mason

----- Original Message ----- From: "Hunkeler Peter (KIUK 3)" <[EMAIL PROTECTED]>
Newsgroups: bit.listserv.ibm-main
To: <[email protected]>
Sent: Tuesday, September 18, 2007 11:53 AM
Subject: Re: How to generate WTO REPLY in C Language ?


I have a source code in C language that is run under unix services
on a z/OS. I would like to generate a reply in the syslog and wait
until the operator response.

Not directly WTO/WTOR but depending on what exactly you want to do
something that might help you: __console() or __console2() functions.

They allow you to communicate with the operator: Send a message and
optionally wait for a MODIFY command, then retrieve the data and
act as requested.

--
Peter Hunkeler
Credit Suisse

----------------------------------------------------------------------
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

Reply via email to