On 24 February 2015 at 14:11, Janet Graff <[email protected]> wrote: > I have an abend handler that is catching a U121 abend. The LE Abend Handler > is telling me that the facility_id is "CEE" and the tok_msgno is "3250" > giving me > > CEE3250C The system or user abend abend-code was issued. > > abend-code in the message description is in italics in the LE Run-time > Messages manual which makes me think I can get hold of the actual U121 abend > code. Looking at the _FEEDBACK structure I see a field tok_isi which is > documented as " the instance specific information (ISI)" but I can't find any > doc that tells me how this 64 byte field is formatted. > > Does anyone know what the tok_isi contains and how to translate it to get the > instance specific information?
I don't, and doubtless an LE expert who does will chime in. But I do think it's unlikely that the ISI is a 64 *byte* field. LE books and the C definitions in SCEEH.H include two different definitions - one 32-bit, and one 64-bit. In C terms, one is int; the other long. In assembler terms, there is only a "DS F" that I can find. Presumably this is the result of my finding a mix of 32-bit and 64-bit environment references. Which is yours? Regardless, by its name this is a token, so in some sense a pointer, but presumably an opaque thing that you aren't supposed to disect on your own. Certainly it doesn't sound likely to actually contain the abend code. It is also called an "index into ISI block" in some places. Ah - I think Lizette was very close. Look at routine CEEGQDT in that same book (LE Programming Reference). "CEEGQDT retrieves the q_data_token from the Instance-Specific Information (ISI). CEEGQDT is particularly useful when you have user-written condition handlers registered by CEEHDLR." And the detail on q_data_token is in the LE Programming Guide under "q_data Structure for Abends ". It contains the abend code and reason code. There's even a COBOL example. Good luck. Tony H. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
