I'm curious. Say that I have something like: ATTACH EP=MYPROG,ECB=MYECB LTR R15,R15 BZ ATTERR ST R1,MYTCB WAIT 1,ECB=MYECB DETACH MYTCB
I know that I can get either the subtask return code or ABEND completion code(s) from the ECB. But in the case of an ABEND, is there an easy way to get the reason code? Or do I need an ESTAI routine on the ATTACH to capture that? Similarly, what about the normal completion reason code (R0)? Thanks, Kirk Wolf Dovetailed Technologies http://dovetail.com ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN