Re: WTO and IEF170I message

2022-10-20 Thread Peter Relson
Scott Ballentine corrected my "expectation".

The default default, in the absence of any routcode, desccode, mcsflag and 
CONSOLxx definition is routcodes 1-16.

Many exits do not run in environments where WTP (routcode 11) would work. Some 
SMF exits, I believe, describe how to issue messages from "within".

It is, simply put, important that you identify where you want your messages to 
go.

Peter Relson
z/OS Core Technology Design


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: WTO and IEF170I message

2022-10-19 Thread Pierre Fichaud

The code runs in an exit

In case it matters (unlikely as that is), what kind of "exit"? At least "is it 
some sort of WTO-related exit"?

--> No, it is not a WTO-related exit.


Is there something in the WTO parameters that causes the IEF170 message to 
disappear ?
Maybe a combination of MCSFLAG, DESC and ROUTCDE ?


The first question for any WTO is where do you want it to go? You then set 
MCSFLAG, DESC, and/or ROUTCDE to meet that desire.
IEF170I comes from Write To Programmer processing (either by the WTP macro or 
by WTO(r) with routing code 11).

--> MCSFLAG=HRDCPY did it. I did not set ROUTCDE or DESC. I no longer get the 
IEF170I message.

I would not have expected routing code 11 to be included by default. Perhaps 
you have some WTO-related exit that changes the routing codes.
And perhaps the environment of your exit is not appropriate for WTP.

Thanks to all, Pierre.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: WTO and IEF170I message

2022-10-19 Thread Peter Relson

The code runs in an exit

In case it matters (unlikely as that is), what kind of "exit"? At least "is it 
some sort of WTO-related exit"?


Is there something in the WTO parameters that causes the IEF170 message to 
disappear ?
Maybe a combination of MCSFLAG, DESC and ROUTCDE ?


The first question for any WTO is where do you want it to go? You then set 
MCSFLAG, DESC, and/or ROUTCDE to meet that desire.
IEF170I comes from Write To Programmer processing (either by the WTP macro or 
by WTO(r) with routing code 11).

I would not have expected routing code 11 to be included by default. Perhaps 
you have some WTO-related exit that changes the routing codes.
And perhaps the environment of your exit is not appropriate for WTP.

Peter Relson
z/OS Core Technology Design


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: WTO and IEF170I message

2022-10-19 Thread Ituriel do Neto
Pierre,

I have used MCSFLAG=HRDCPY with success


Best Regards

Ituriel do Nascimento Neto
z/OS System Programmer






Em terça-feira, 18 de outubro de 2022 22:17:34 GMT+2, Charles Mills 
 escreveu: 





Yikes indeed!

Charles


-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of John Abell
Sent: Tuesday, October 18, 2022 11:46 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: WTO and IEF170I message

And she was deemed to possibly your next President.  YIKES

John T. Abell    
Tel:            800-295-7608    Option 4
President 
International:  1-416-593-5578  Option 4
E-mail:  john.ab...@intnlsoftwareproducts.com
Fax:            800-295-7609

International:  1-416-593-5579


International Software Products
www.ispinfo.com
                                                
This email may contain confidential and privileged material for the sole use of 
the intended recipient(s). Any review, use, retention, distribution or 
disclosure by others is strictly prohibited. If you are not the intended 
recipient (or authorized to receive on behalf of the named recipient), please 
contact the sender by reply email and delete all copies of this message. 
Also,email is susceptible to data corruption, interception, 
tampering, unauthorized amendment and viruses. We only send and receive emails 
on the basis that we are not liable for any such corruption, interception, 
tampering, amendment or viruses or any consequence thereof.
    

-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Pierre Fichaud
Sent: Tuesday, October 18, 2022 2:38 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: WTO and IEF170I message

I issue a plain WTO :    wto  'This is a message'
I also issue a WTO  :    wto  text=dsa_wtotext,mf=(e,dsa_wtoarea)

In both cases the WTO appears in the SDSF LOG.

But I also get an IEF170I message for each WTO no matter the flavor.

IEF170I 3          This is a message

A WTO or WTOR macro requested a write-to-programmer (WTP) operation. The system 
was unable to complete WTP processing due to an error

3 means "The system issued the PUT macro to a system message data set, but 
failed."

The code runs in an exit but since SVCs are allowed in the exit, the code must 
execute in TCB mode.

Is there something in the WTO parameters that causes the IEF170 message to 
disappear ?
Maybe a combination of MCSFLAG, DESC and ROUTCDE ?

Thanks in advance, Pierre.

--
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: WTO and IEF170I message

2022-10-18 Thread Charles Mills
Yikes indeed!

Charles


-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of John Abell
Sent: Tuesday, October 18, 2022 11:46 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: WTO and IEF170I message

And she was deemed to possibly your next President.  YIKES

John T. Abell   
Tel:800-295-7608Option 4
President 
International:  1-416-593-5578  Option 4
E-mail:  john.ab...@intnlsoftwareproducts.com
Fax:800-295-7609

International:  1-416-593-5579


International Software Products
www.ispinfo.com


This email may contain confidential and privileged material for the sole use of 
the intended recipient(s). Any review, use, retention, distribution or 
disclosure by others is strictly prohibited. If you are not the intended 
recipient (or authorized to receive on behalf of the named recipient), please 
contact the sender by reply email and delete all copies of this message. 
Also,email is susceptible to data corruption, interception, 
tampering, unauthorized amendment and viruses. We only send and receive emails 
on the basis that we are not liable for any such corruption, interception, 
tampering, amendment or viruses or any consequence thereof.


-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Pierre Fichaud
Sent: Tuesday, October 18, 2022 2:38 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: WTO and IEF170I message

I issue a plain WTO :wto   'This is a message'
I also issue a WTO  :wto   text=dsa_wtotext,mf=(e,dsa_wtoarea)

In both cases the WTO appears in the SDSF LOG.

But I also get an IEF170I message for each WTO no matter the flavor.

IEF170I 3  This is a message

A WTO or WTOR macro requested a write-to-programmer (WTP) operation. The system 
was unable to complete WTP processing due to an error

3 means "The system issued the PUT macro to a system message data set, but 
failed."

The code runs in an exit but since SVCs are allowed in the exit, the code must 
execute in TCB mode.

Is there something in the WTO parameters that causes the IEF170 message to 
disappear ?
Maybe a combination of MCSFLAG, DESC and ROUTCDE ?

Thanks in advance, Pierre.

--
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: WTO and IEF170I message

2022-10-18 Thread Binyamin Dissen
As you have not specified ROUTCDE, CONSOL** takes over. Probably includes 11.

On Tue, 18 Oct 2022 13:37:35 -0500 Pierre Fichaud  wrote:

:>I issue a plain WTO :wto   'This is a message'
:>I also issue a WTO  :wto   text=dsa_wtotext,mf=(e,dsa_wtoarea)

:>In both cases the WTO appears in the SDSF LOG.

:>But I also get an IEF170I message for each WTO no matter the flavor.

:>IEF170I 3  This is a message

:>A WTO or WTOR macro requested a write-to-programmer (WTP) operation. The 
system was unable to complete
:>WTP processing due to an error

:>3 means "The system issued the PUT macro to a system message data set, but 
failed."

:>The code runs in an exit but since SVCs are allowed in the exit, the code 
must execute in TCB mode.

:>Is there something in the WTO parameters that causes the IEF170 message to 
disappear ?
:>Maybe a combination of MCSFLAG, DESC and ROUTCDE ?

--
Binyamin Dissen 
http://www.dissensoftware.com

Director, Dissen Software, Bar & Grill - Israel

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: WTO and IEF170I message

2022-10-18 Thread John Abell
And she was deemed to possibly your next President.  YIKES

John T. Abell   
Tel:800-295-7608Option 4
President 
International:  1-416-593-5578  Option 4
E-mail:  john.ab...@intnlsoftwareproducts.com
Fax:800-295-7609

International:  1-416-593-5579


International Software Products
www.ispinfo.com


This email may contain confidential and privileged material for the sole use of 
the intended recipient(s). Any review, use, retention, distribution or 
disclosure by others is strictly prohibited. If you are not the intended 
recipient (or authorized to receive on behalf of the named recipient), please 
contact the sender by reply email and delete all copies of this message. 
Also,email is susceptible to data corruption, interception, 
tampering, unauthorized amendment and viruses. We only send and receive emails 
on the basis that we are not liable for any such corruption, interception, 
tampering, amendment or viruses or any consequence thereof.


-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Pierre Fichaud
Sent: Tuesday, October 18, 2022 2:38 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: WTO and IEF170I message

I issue a plain WTO :wto   'This is a message'
I also issue a WTO  :wto   text=dsa_wtotext,mf=(e,dsa_wtoarea)

In both cases the WTO appears in the SDSF LOG.

But I also get an IEF170I message for each WTO no matter the flavor.

IEF170I 3  This is a message

A WTO or WTOR macro requested a write-to-programmer (WTP) operation. The system 
was unable to complete WTP processing due to an error

3 means "The system issued the PUT macro to a system message data set, but 
failed."

The code runs in an exit but since SVCs are allowed in the exit, the code must 
execute in TCB mode.

Is there something in the WTO parameters that causes the IEF170 message to 
disappear ?
Maybe a combination of MCSFLAG, DESC and ROUTCDE ?

Thanks in advance, Pierre.

--
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN