<snip> if I don't find a RB in the RB chain I do a CSVQUERY in the asid of SDWAPRIM if not I do NUCKLKUP </snip>
Please be more complete in describing what you are truly doing (and trying to accomplish). For example, suppose you do find an RB for which RBOPSW matches SDWAEC1. In what way does that help you? The name in the RB's CDE (if there is one, not even all PRBs have one) would identify the program for which the RB started but might have next to nothing to do with the problem. And what if there are two RB's with such a PSW? SDWANAME might already have in it a name from that CDE. You can't do a "CSVQUERY in the ASID of SDWAPRIM" unless you are running with your current primary ASID equal to SDWAPRIM. I.e., CSVQUERY searches the information for the current primary address space (even if primary is not home). Thus, at a minimum, for an ESTAEX, you'd have to check for SDWAPRIM = current primary ASID (such as by using EPAR to extract the current primary ASN). Peter Relson z/OS Core Technology Design ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN