I believe that you must set R0 to 0 before issuing the MLWTO. Thanks;
Ray Baraniecki Morgan Stanley Smith Barney 1 New York Plaza - 18th Floor New York, NY 10004 Telephone: 212-276-5641 Cell: 917-597-5692 -----Original Message----- From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of Lizette Koehler Sent: Tuesday, November 02, 2010 9:51 AM To: IBM-MAIN@bama.ua.edu Subject: Re: WTO ABEND D23 help -----Original Message----- >From: Charles Mills <charl...@mcn.org> >Sent: Nov 2, 2010 9:32 AM >To: IBM-MAIN@bama.ua.edu >Subject: WTO ABEND D23 help > >I'm trying to do a multi-line WTO, potentially with a CART and a CONSID. >(CART and CONSID are zeros in this test, because I am testing in batch.) I >have followed *very* closely the example in the Authorized Assembler >Services Guide Section 7-12, "Assembler example with CMDX control block, >multi-line WTO." No matter what I do I get a D23 ABEND on the first WTO. The >reason code is 05010008. That is documented as The caller supplied an >incorrect parameter list structure. Here are possible reasons: - WPX length >was not correct. - WQEBLK parameter was specified with an incorrect WPL. - >Zero address was specified for the WPL. > >There is a field in the WTO MF=L commented as "WPX length." It assembles as >104=x'68' and it's still x'68' in the dump. I don't find "WQEBLK" or "WPL" >in the listing. > >I've looked at the MF=E macro expansion and it seems to be storing the CART >address and the CONSID in the right place in the MF=L. The text pointer is >correct (16 bit length + text). > >What else should I be looking for? > >Charles Mills > Charles, Just a very simple question. How many lines are you displaying? I remember reading something about having to be APF authorized if there is a large number of lines. Is this possible? Though I could be way of base. Lizette ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html -------------------------------------------------------------------------- Important Notice to Recipients: The sender of this e-mail is an employee of Morgan Stanley Smith Barney LLC. If you have received this communication in error, please destroy all electronic and paper copies and notify the sender immediately. Erroneous transmission is not intended to waive confidentiality or privilege. Morgan Stanley Smith Barney reserves the right, to the extent permitted under applicable law, to monitor electronic communications. This message is subject to terms available at the following link: http://www.morganstanley.com/disclaimers/mssbemail.html. If you cannot access this link, please notify us by reply message and we will send the contents to you. By messaging with Morgan Stanley Smith Barney you consent to the foregoing. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html