Since the program is written in C, SYSUDUMP really isn't the easiest place to look for info. CEEDUMP will show the regs and a traceback which is usually all that's needed. See TERMTHDACT option for how to generate a CEEDUMP. Alternatively, use SYSMDUMP and IPCS. There's a learning curve, but for a simple 0C4, it's really not that difficult to get the psw/regs and a traceback. Do:
ip verbx ledata 'ceedump' for the traceback and: ip verbx ledata 'cm' for the PSW and regs. Look for last 'CIBH:' block. ABCD: = Abend code (i.e. 0C4) INT: = Interrupt address (address of failing inst) MCH_GPRxx: = registers at abend MCH_PSW: = psw at abend (usually just past the INT: address) In article <[email protected]> you wrote: > Scan the dump looking for RTM2WA > That will have the PSW, the registers and the last branch location. > After looking at those you start debugging. > On Fri, 19 Jun 2020 22:23:49 +0000 Ze'ev Atlas > <[email protected]> wrote: > :>I admit that I am rusty and did not look at any dump for decades, and when > I did I was coding either Assembler or COBOL and I knew how to decipher the > thing.I am porting a C library libxc to classic z/OS and it compiles cleanly > (most of it, at least).? As is implied by the description, most users of that > thing are running it on Linux or Windows.? Maybe a few on Unix machines. > :>I tried to run its modules on my z/OS machine (genuine IBM, z/OS 2.4),? and > I get S0C4, with nice SYSUDUMP! > :>I have no idea how to begin to look and I am afraid that I compiled it with > wrong options.? Is there any C maven in the audience that could please try to > guide me where to begin looking. > :>I tried to avoid compiling it as dll (that much I sort of knew) but I am > not sure any more.? > :>Ze'ev Atlas > :> > :> > :>---------------------------------------------------------------------- > :>For IBM-MAIN subscribe / signoff / archive access instructions, > :>send email to [email protected] with the message: INFO IBM-MAIN > -- > Binyamin Dissen <[email protected]> > http://www.dissensoftware.com > Director, Dissen Software, Bar & Grill - Israel -- Don Poitras - SAS Development - SAS Institute Inc. - SAS Campus Drive [email protected] (919) 531-5637 Cary, NC 27513 ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
