Re: WTO Question

2006-08-03 Thread Kirk Talman
Left hand/right hand?

33.1.4 Input Register Information

Before issuing the WTO macro, the caller does not have to place any 
information into any register unless using it in register notation for a 
particular parameter, or using it as a base register. 

33.1.5 Output Register Information

When control returns to the caller, the general purpose registers (GPRs) 
contain: 
Register Contents 
0 
Used as a work register by the system. 
1 
Message identification number if the macro completed normally. You can use 
this number to delete the message when it is no longer needed. If you are 
using the CONNECT parameter to connect WTO messages, store this value in 
the 4-byte CONNECT field and set register 0 to zero before issuing the 
next WTO. Otherwise, register 1 is used as a work register by the system. 
2-13 
Unchanged. 
14 
Used as a work register by the system. 
15 
Return code. 

IBM Mainframe Discussion List IBM-MAIN@BAMA.UA.EDU wrote on 08/03/2006 
01:16:44 PM:

 I was doing some work on an issue here and thought I read that as of
 z/OS 1.7 you must clear R0 prior to a WTO and use CONNECT instead.

 Did anyone else see that little comment somewhere or something like it?
 I've searched every 1.7 PDF I have on my hard drive for z/OS 1.7 macros
 and I can't find it, and yet my tickler notes from that evening about
 a week ago... 



-
The information contained in this communication (including any
attachments hereto) is confidential and is intended solely for the
personal and confidential use of the individual or entity to whom
it is addressed.  The information may also constitute a legally
privileged confidential communication.  If the reader of this
message is not the intended recipient or an agent responsible for
delivering it to the intended recipient, you are hereby notified
that you have received this communication in error and that any
review, dissemination, copying, or unauthorized use of this
information, or the taking of any action in reliance on the
contents of this information is strictly prohibited.  If you have
received this communication in error, please notify us immediately
by e-mail, and delete the original message.  Thank you

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


Re: WTO Question

2006-08-03 Thread Thompson, Steve (SCI TW)
-Original Message-
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
Behalf Of Kirk Talman
Sent: Thursday, August 03, 2006 12:39 PM
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: WTO Question

Left hand/right hand?

snip

I wish it were that simple. It was a comment about 1.7 and beyond and
the use of Gen Reg 0. I'm trying to find it to see what its impact is to
us.

Regards,
Steve Thompson

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


Re: WTO Question

2006-08-03 Thread Tom Marchant
On Thu, 3 Aug 2006 13:44:24 -0400, Thompson, Steve (SCI TW) 
[EMAIL PROTECTED] wrote:

-Original Message-
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
Behalf Of Kirk Talman
Sent: Thursday, August 03, 2006 12:39 PM
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: WTO Question

Left hand/right hand?

snip

I wish it were that simple. It was a comment about 1.7 and beyond and
the use of Gen Reg 0. I'm trying to find it to see what its impact is to
us.

seems to me that if there was such a new requirement, a lot of old code 
would be broken

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


Re: WTO Question

2006-08-03 Thread Thompson, Steve (SCI TW)
-Original Message-
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
Behalf Of Tom Marchant
Sent: Thursday, August 03, 2006 12:56 PM
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: WTO Question

snip
seems to me that if there was such a new requirement, a lot of old code 
would be broken

snip
Quite right.

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


Re: WTO Question

2006-08-03 Thread Steve Comstock

Thompson, Steve (SCI TW) wrote:

I was doing some work on an issue here and thought I read that as of
z/OS 1.7 you must clear R0 prior to a WTO and use CONNECT instead.

 


Did anyone else see that little comment somewhere or something like it?
I've searched every 1.7 PDF I have on my hard drive for z/OS 1.7 macros
and I can't find it, and yet my tickler notes from that evening about
a week ago... 

 


Regards,

Steve Thompson


Yes, I came across it last week. In

z/OS MVS Programming: Assembler Services Reference, Volume 2 
(IARR2V-XCTLX), (pdf file name: iea2a961.pdf; IBM form number:

SA22-7607-09) on the write up for WTO, p. 825:

Be aware of the following when coding the WTO macro:
* MCSFLAG=REG0 is not supported on z/OS V1R7 and higher.
* You should clear register zero.
.
.
.

I didn't follow up, as my need to use the macro in the moment
went away. But I remember being surprised.

Kind regards,

-Steve Comstock

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


Re: WTO Question

2006-08-03 Thread Thompson, Steve (SCI TW)
-Original Message-
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
Behalf Of Steve Comstock
Sent: Thursday, August 03, 2006 1:03 PM
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: WTO Question

snip

Yes, I came across it last week. In

z/OS MVS Programming: Assembler Services Reference, Volume 2 
(IARR2V-XCTLX), (pdf file name: iea2a961.pdf; IBM form number:
SA22-7607-09) on the write up for WTO, p. 825:

Be aware of the following when coding the WTO macro:
* MCSFLAG=REG0 is not supported on z/OS V1R7 and higher.
* You should clear register zero.
.
.
.

I didn't follow up, as my need to use the macro in the moment
went away. But I remember being surprised.

Kind regards,

-Steve Comstock
snip

Thanks. I knew I'd seen it.

Regards,
Steve Thompson

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