View previous topic :: View next topic |
Author |
Message |
Bee_bop Beginner
Joined: 12 Dec 2005 Posts: 29 Topics: 15 Location: Singapore
|
Posted: Fri Jun 16, 2006 1:51 am Post subject: WTOR |
|
|
Hi Experts,
I'm trying to execute rexx through af/oper. Is there a JCL that can be used to send WTOR on the system console ? Pls advise. If I use IPOWTO utility it just send messgae on syslog.
-Thanks,
Bee_bop |
|
Back to top |
|
 |
Bithead Advanced

Joined: 03 Jan 2003 Posts: 550 Topics: 23 Location: Michigan, USA
|
Posted: Fri Jun 16, 2006 8:56 am Post subject: |
|
|
I use this logic in REXX:
Code: |
LINE_DATA. = \\" \\"
LINE_DATA.1 = \\"+------------------------+\\"
LINE_DATA.2 = \\"+ This is the message +\\"
LINE_DATA.3 = \\"+------------------------+\\"
ADDRESS \\"WTO\\" \\"TEXTVAR(LINE_DATA.) MSGID(+)\\"
|
See if it works for you.
I also use IPOWTO but it displays on the console. |
|
Back to top |
|
 |
Bill Dennis Advanced

Joined: 03 Dec 2002 Posts: 579 Topics: 1 Location: Iowa, USA
|
Posted: Fri Jun 16, 2006 11:37 am Post subject: |
|
|
Do you actually need to receive a reply into your REXX? _________________ Regards,
Bill Dennis
Disclaimer: My comments on this foorum are my own and do not represent the opinions or suggestions of any other person or business entity. |
|
Back to top |
|
 |
Bee_bop Beginner
Joined: 12 Dec 2005 Posts: 29 Topics: 15 Location: Singapore
|
Posted: Tue Jun 20, 2006 5:35 am Post subject: |
|
|
I can send WTOR on console through script, but im just thinking that there may be another way of sending WTOR on console using JCL only and not invoking any script. I got this JCL but it sends different WTOR message on console, anyway this might be useful for others who need this :
Code: |
//STEP01 EXEC PGM=IPOWTO,PARM='XYZ'
//SYSIN DD DDNAME=IEFRDER
//IEFRDER DD DUMMY,DCB=(BLKSIZE=80)
|
This will prompt for WTOR with this message :
"#### REPLY C TO CONTINUE PROCESSING OR R TO REPEAT DISPLAY"
I guess there is no shortcut and I need to invoke the script.
Thanks all.
-Bee_bop |
|
Back to top |
|
 |
|
|