At 10:54 -0500 on 10/04/2005, Adam Floro wrote about Re: JES2 Exit6 -
Changing Class= Based on PGM=:
Many thanks to Robert Rosenberg for his suggestion on preserving R1.
It didn't even dawn on me that the $$WTO was wiping that out. My
assembler skills are a bit rusty these days.
You're Welcome. Sometimes it is the obvious things that you miss.
Checking the Assembly listing would have shown the R1 use, BTW.
BTW: Your original code was OK - It was the adding of the $$WTO to
trace the flow that bit you. Staying away from R14-R1 is the best
thing since they are volatile when you use ANY Macro.
----------------------------------------------------------------------
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