<snip> wonder if SETRP can retry in different address space the doc says you can run it in AR mode </snip> Whether you can issue SETRP in AR mode has nothing to do with "retry in different address space". The space from which data is fetched by SETRP (which in your example is "nothing" because you specified register form) is not related to the address space in which you retry (which itself is an inaccurate-enough term to be not useful). The cross memory environment for any recovery routine's retry is well-defined and depends on what you have chosen to identify. One additional tidbit is bit SDWARFXM (which applies to FRRs only). Its comment is correct.
<snip> So if RETADDR=(RX) and access RX has an ALET ? </snip> Whether or not you can invoke a macro in AR mode is not sufficient to know if the data can be in a data space. These questions can often be answered simply by looking at the expansion. What do you get for the retaddr processing of SETRP RC=4,RETADDR=(RX)? You get "LR 15,RX" then "ST 15,SDWARTYA-SDWA(,1)". And you get that whether or not you have SYSSTATE ASCENV=AR. Thus it is irrelevant what is the ALET in Access register RX. You can see that the WKAREA default, to register 1, requires that you have set up AR1 appropriately (to 0 would be most appropriate) Peter Relson z/OS Core Technology Design ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
