View previous topic :: View next topic
|
Author |
Message |
txgai1
New User
Joined: 01 Dec 2023 Posts: 3 Location: USA
|
|
|
|
Hi,
I have a complex C/C++ program(s) that is looping in batch mode.
If I cancel with dump(CD), I get a dump but it is worthless. It does not have a stack trace.
The question is how can I get CEEDUMP or IPCS dump so I can get the stack trace. (I know how to get a stack trace from a IPCS dump)
With CD a SYSMDUMP and SYSUDUMP both produce a useless text dump.
I do not get a CEEDUMP.
I can set a slip but not really sure where to set it.
Thanks for any help. |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2594 Location: Silicon Valley
|
|
|
|
re: produce a useless text dump
I do not know what a text dump is. But sysmdump should produce a binary file that you can look at with IPCS. Your JCL should have a DD statement for SYSMDUMP output file.
If I were in this situation I would add my own trace control blocks where I would store my own breadcrumb information - the starting and stopping of various routines and the like.
And if the dump does not show your trace information, then also add print statements to your program. |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2594 Location: Silicon Valley
|
|
|
|
re: "that is looping in batch mode"
Does that mean it is working successfully in a different mode? Please explain. |
|
Back to top |
|
|
txgai1
New User
Joined: 01 Dec 2023 Posts: 3 Location: USA
|
|
|
|
SYSMDUMP did work.
Thanks you |
|
Back to top |
|
|
Pete Wilson
Active Member
Joined: 31 Dec 2009 Posts: 592 Location: London
|
|
|
|
Maybe a GFT trace or SLIP trap? |
|
Back to top |
|
|
txgai1
New User
Joined: 01 Dec 2023 Posts: 3 Location: USA
|
|
|
|
SYSMDUMP gave me a dump in IPCS format that I can use to get a stack trace.
Thanks you. |
|
Back to top |
|
|
|