It appears, unfortunately, that WTO isn't allowed. Strange. ABEND is allowed but it didn't do anything. It didn't put anything in LOGR.
But I did a LA R6,X'666' and then a DC X'0000' and in the LOGR I could see my register set. So perhaps it works. I mean, so it appears to work! Whoo Hoo! Thanks to everyone's help and patience with my questions. Only took me 6 months to get this far. (-: -----Original Message----- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of (IBM Mainframe Discussion List) Sent: 23. elokuuta 2008 19:07 To: [email protected] Subject: Re: Trying to figure out IEAMSCHD In a message dated 8/22/2008 6:44:04 P.M. Central Daylight Time, [EMAIL PROTECTED] writes: >it runs to completion, but I can't tell if it worked or not So running "to completion" is like "working as coded." All code ever written works as coded. One way to know if it works, after you fix all the problems you discover with LOGREC et al., is to put a WTO at the very end. Of course, you have to code the WTO so that it does not use an SVC (LINKAGE not = SVC; some macros allow LINKAGE=SYSTEM, others allow LINKAGE=BRANCH; check the WTO doc). And remember that the WTO system service will alter some registers. Check the WTO doc to see which ones. Bill Fairchild Rocket Software ---------------------------------------------------------------------- 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

