Mr. John. Sorry about my bad english.
Sergio -----Mensagem original----- De: IBM Mainframe Discussion List [mailto:[email protected]] Em nome de Roberts, John J Enviada em: quinta-feira, 6 de outubro de 2011 12:41 Para: [email protected] Assunto: Re: WTO Sample Program Hal Merritt Posted: >I think we seem to be missing a basic chicken-and-egg issue. If I understand, >the OP >wants to -originate- the message from the console and does not say >who/what is the >intended recipient. I think Sergio is having trouble explaining his requirements, since English is probably his third language. Maybe if he posted his needs in Portugese, we could run it thru Google translate and obtain a better understanding. But this is what he said to Lizette earlier: >>The people here, think this, because, one job was cancelled, and the operator >>not >>seen. >>So, the Idea , is IF something was wrong, run a JOB, that DISPLAY a warning >>message , >>and asks from Operator type something. >>If have a REXX program , We think more easy do a maintenance. I read this as meaning he wants a batch job to send a message to the console and receive a response from the operator. So WTOR would seem appropriate (as would DISPLAY UPON CONSOLE followed by ACCEPT FROM CONSOLE, as someone else mentioned). BUT, reading the other fragments of his message, his intent could also be to allow the console operator to explain why a JOB was cancelled. He COULD be thinking that I will add a COND=EVEN jobstep to ask the operator "WHY DID YOU CANCEL THIS JOB???" and permit the operator to explain "BECAUSE IT WAS TAKING TOO LONG!!!". Of course, COND=EVEN won't trap a Sx22 ABEND, so if this is what he is hoping to do, he is out of luck. John ---------------------------------------------------------------------- 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 "Atenção: Esta mensagem foi enviada para uso exclusivo do(s) destinatários(s) acima identificado(s), podendo conter informações e/ou documentos confidencias/privilegiados e seu sigilo é protegido por lei. Caso você tenha recebido por engano, por favor, informe o remetente e apague-a de seu sistema. Notificamos que é proibido por lei a sua retenção, disseminação, distribuição, cópia ou uso sem expressa autorização do remetente. Opiniões pessoais do remetente não refletem, necessariamente, o ponto de vista da companhia, o qual é divulgado somente por pessoas autorizadas." "Warning: This message was sent for exclusive use of the addressees above identified, possibly containing information and or privileged/confidential documents whose content is protected by law. In case you have mistakenly received it, please notify the sender and delete it from your system. Be noticed that the law forbids the retention, dissemination, distribution, copy or use without express authorization from the sender. Personal opinions of the sender do not necessarily reflect the company's point of view, which is only divulged by authorized personnel." ---------------------------------------------------------------------- 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

