Thanks. Yes. Agree with all of your points.

I am using identical (in so far as the macro allows!) parms on both the E
and the L macros (per the example I referenced).

I am not trying to do a "one-shot" multi-line WTO for the reason you
described. What a goofy design! It is perfect for someone with "n"
hard-coded messages but how likely is that in the real world? I don't even
know what my "n" is ahead of time. I am doing "n" one-line WTO's followed by
an "E" type WTO.

Charles

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf
Of Chris Craddock
Sent: Tuesday, November 02, 2010 12:52 PM
To: [email protected]
Subject: Re: WTO ABEND D23 help

> I see that after tweaking you got it working. One tip for the future. If
> you are going to use parms like CART and CONSID in the MF=E, they should
> also be used in the MF=L. Some parm lists have flags set in the MF=L
> indicating what parms are being supplied. If you fill them in via MF=E,
> there can be problems if those parms (and thus the flags) are not also in
> the MF=L. I am not saying that that this was your problem but it does not
> hurt to make sure by having the parm in both macros (if not needed, it
will
> not cause any problems for macros where the MF=L just provides the parm
area
> but no content and the MF=E does ALL the work of building the parms).
>


that's true. It is best to use as close to identical MF=E and MF=L
expansions as possible. That can be a bit tricky if you don't know ahead of
time how many message lines you're going to need. The limit for a
non-privileged caller is 10 btw. I also feel honor bound to point out that
the IEZWPL mapping is (to be charitable) extremely misleading. If you're
going to build your own expansion you will need to study the actual WTO
macro expansion rather than relying on IEZWPL. Try "WTO TEXT=(...) with one,
then two and then three message lines and you will fairly quickly get the
gist of it.

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

Reply via email to