Thanks.
MESG=ARG(1)
CONSNAME='DX9701'
MCSFLAG = '00000000'
ADDRESS LINKPGM "WTO '"MESG"',MCSFLAG="MCSFLAG",CONSNAME="CONSNAME
EXIT
6 *-* ADDRESS LINKPGM "WTO '"MESG"',MCSFLAG="MCSFLAG",CONSNAME="CONSNAME
>L> "WTO '"
>V> "this is a test"
>O> "WTO 'this is a test"
>L> "',MCSFLAG="
>O> "WTO 'this is a test',MCSFLAG="
>V> "00000000"
>O> "WTO 'this is a test',MCSFLAG=00000000"
>L> ",CONSNAME="
>O> "WTO 'this is a test',MCSFLAG=00000000,CONSNAME="
>V> "TS62547"
>O> "WTO 'this is a test',MCSFLAG=00000000,CONSNAME=TS62547"
+++ RC(-3) +++
Thanks,
Thom Stone
----------------------------------------------------------------------
For TSO-REXX subscribe / signoff / archive access instructions,
send email to LIST...@VM.MARIST.EDU with the message: INFO TSO-REXX
----------------------------------------------------------------------
For TSO-REXX subscribe / signoff / archive access instructions,
send email to LIST...@VM.MARIST.EDU with the message: INFO TSO-REXX
:>Can anyone tell me how to send a WTO to the operator console from a TSO Rexx? Maybe a small example. I'm guessing an ATTCHPGM or something like bt so far no joy. I am trying like so, but am getting RC -3 and am stuck. I've tried several different combinations and no luck so far. I'm off trying to find out what a RC-3 is now.
ADDRESS TSO "SEND '"mesg"' CN("consname")"
:>Thanks.
:>MESG=ARG(1)
:>CONSNAME='DX9701'
:>MCSFLAG = '00000000'
:>ADDRESS LINKPGM "WTO '"MESG"',MCSFLAG="MCSFLAG",CONSNAME="CONSNAME
:>EXIT
:>6 *-* ADDRESS LINKPGM "WTO '"MESG"',MCSFLAG="MCSFLAG",CONSNAME="CONSNAME
:> >L> "WTO '"
:> >V> "this is a test"
:> >O> "WTO 'this is a test"
:> >L> "',MCSFLAG="
:> >O> "WTO 'this is a test',MCSFLAG="
:> >V> "00000000"
:> >O> "WTO 'this is a test',MCSFLAG=00000000"
:> >L> ",CONSNAME="
:> >O> "WTO 'this is a test',MCSFLAG=00000000,CONSNAME="
:> >V> "TS62547"
:> >O> "WTO 'this is a test',MCSFLAG=00000000,CONSNAME=TS62547"
:> +++ RC(-3) +++
--
Binyamin Dissen <bdi...@dissensoftware.com>
http://www.dissensoftware.com
Director, Dissen Software, Bar & Grill - Israel
Should you use the mailblocks package and expect a response from me,
you should preauthorize the dissensoftware.com domain.
I very rarely bother responding to challenge/response systems,
especially those from irresponsible companies.
MESG=ARG(1)
CONSNAME='DX9701'
MCSFLAG = '00000000'
PARMS = MESG',MCSFLAG='MCSFLAG',CONSNAME='CONSNAME
ADDRESS LINKPGM "WTO PARMS"
EXIT
Rob
In a message dated 10/21/2010 8:54:13 A.M. US Mountain Standard Time,
ston...@MCHSI.COM writes:
Can anyone tell me how to send a WTO to the operator console from a TSO
Rexx? Maybe a small example. I'm guessing an ATTCHPGM or something like bt
so far no joy. I am trying like so, but am getting RC -3 and am stuck.
I've tried several different combinations and no luck so far. I'm off trying
to find out what a RC-3 is now.
Thanks.
MESG=ARG(1)
CONSNAME='DX9701'
MCSFLAG = '00000000'
ADDRESS LINKPGM "WTO '"MESG"',MCSFLAG="MCSFLAG",CONSNAME="CONSNAME
EXIT
6 *-* ADDRESS LINKPGM "WTO '"MESG"',MCSFLAG="MCSFLAG",CONSNAME="CONSNAME
>L> "WTO '"
>V> "this is a test"
>O> "WTO 'this is a test"
>L> "',MCSFLAG="
>O> "WTO 'this is a test',MCSFLAG="
>V> "00000000"
>O> "WTO 'this is a test',MCSFLAG=00000000"
>L> ",CONSNAME="
>O> "WTO 'this is a test',MCSFLAG=00000000,CONSNAME="
>V> "TS62547"
>O> "WTO 'this is a test',MCSFLAG=00000000,CONSNAME=TS62547"
+++ RC(-3) +++
Thanks,
Thom Stone
.***START OF SPECIFICATIONS********************************************
.* @G64DPSS
.* MACRO NAME= WTO @G860PSS
.* @G860PSS
.* DESCRIPTIVE NAME= WRITE TO OPERATOR (WTO) @G860PSS
.* @G860PSS
.* EXTERNAL CLASSIFICATION: PI @L7C
.* END OF EXTERNAL CLASSIFICATION:
.*
.**01* PROPRIETARY STATEMENT= *
.* **PROPRIETARY_STATEMENT*********************************************
.* *
.* *
.* LICENSED MATERIALS - PROPERTY OF IBM *
.* 5694-A01 COPYRIGHT IBM CORP. 1981, 2008 *
.
.
.
I tried using the info you provided and I am still getting RC -3. No Joy. The TSOSEND gets me there, but it's like kissing your sister when you wanted the big date. If I have to work with it I will , but I am going to continue to pursue WTO. WTO works with NetView, so I suspect there has to be a way over this hump.
Thanks.
If you can install stuff from the CBTTAPE, then check out file 386. It
has a REXX function package that has a WTO feature (and a bunch of other
stuff).
Rob
In a message dated 10/21/2010 9:27:50 A.M. US Mountain Standard Time,
The -3 return code from the "WTO...." statement is REXX's way of telling you it couldn't find the command processor or program indicated in the statement. In this case, the command or program "WTO". As Robert already indicated, you can't use the WTO macro, you must have a program of some sort to handle the function you are trying to implement.
Chuck
Charles Hardee
CA technologies
Sr Sustaining Engineer
Tel: +1-952-838-1039
Charles...@ca.com
It was simple matter to call it either way as so:
ADDRESS TSO "CALL *(WTOPARM) '#### TESTING WTOS'"
PARMS = "'#### TESTING WTOS'"
ADDRESS TSO "CALL *(WTOPARM) "PARMS
This group is the best place to get useful information.
----- Original Message -----
From: "Robert Zenuk" <Robz...@AOL.COM>
To: TSO-...@VM.MARIST.EDU
Sent: Thursday, October 21, 2010 11:38:36 AM GMT -06:00 US/Canada Central
Subject: Re: [TSO-REXX] Tso Rexx question
You can not use the WTO macro from REXX... You must have a program that
issues a WTO. There are a few freeware WTO programs on _www.cbttape.org_
(http://www.cbttape.org) . If you want free and can't install any freeware or
RYO then TSO SEND is as good as it gets...
If you can install stuff from the CBTTAPE, then check out file 386. It
has a REXX function package that has a WTO feature (and a bunch of other
stuff).
Rob
In a message dated 10/21/2010 9:27:50 A.M. US Mountain Standard Time,