View previous topic :: View next topic
|
Author |
Message |
jptools
New User
Joined: 04 Oct 2008 Posts: 8 Location: Cuernavaca Morelos Mexico
|
|
|
|
I've found material about locating the address of the instruction that causes the abend using compiling options TEST, OFFSET and LIST, but i need to to know how to get a WORKING-STORAGE DUMP and how to find the variables and its values asociated with the instruction that abends
JP, from Mexico |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
When the abend occurs, typically a dump will be taken for the program that is running. This will include the working-storage dump.
Suggest you talk with your support people and learn which tools might be available on your system. On several systems i've worked on there is a way to take a dump of only part of the working-storage - say before and after some code that is suspect. . . |
|
Back to top |
|
|
jptools
New User
Joined: 04 Oct 2008 Posts: 8 Location: Cuernavaca Morelos Mexico
|
|
|
|
i'll try the solution, thanks anyway
Working-Storage missing from dump of abending Enterprise COBOL program
Technote (troubleshooting)
Problem(Abstract)
You are using Enterprise COBOL and Language Environment (LE) for your application programs in your CICS Transaction Server region. You receive a LE dump for an abend in the CESE destination CEEMSG, but this dump does not include the Working-Storage section. In this case, you are receiving the dump for an abend 4038 due to subscript out of range.
Cause
The Working-Storage section is not included in the dump because Enterprise COBOL does not use the VS COBOL II FDUMP option.
The abend U4038 indicates that LE has encountered a software-raised or user-raised unhandled condition of severity 2 or greater and will terminate. If the TERMTHDACT run-time option is set appropriately, a Language Environment dump (CEEDUMP) will be generated.
Resolving the problem
Use the Enterprise COBOL compiler option TEST(NOHOOK) to list the Working-Storage and Linkage Section in the LE dump in the CEEMSG queue. |
|
Back to top |
|
|
jptools
New User
Joined: 04 Oct 2008 Posts: 8 Location: Cuernavaca Morelos Mexico
|
|
|
|
COBOL – Dump-Analyse im z/OS |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Are you asking for something or presenting some informaton for others to use?
It is best to post complete sentences whether questions or statements. . . |
|
Back to top |
|
|
jptools
New User
Joined: 04 Oct 2008 Posts: 8 Location: Cuernavaca Morelos Mexico
|
|
|
|
Sorry:
I'm presenting some information for others to use, about COBOL DUMPs
You have to search for "COBOL – Dump-Analyse im z/OS" on internet, it is a PDF in German , i think very good, just apply a translator to it and you will see a usefull tool.
By the way, i need the steps to get a complete WORKING-STORAGE DUMP
Thanks
JP, Mexico |
|
Back to top |
|
|
jptools
New User
Joined: 04 Oct 2008 Posts: 8 Location: Cuernavaca Morelos Mexico
|
|
|
|
Dick, you said:
"On several systems i've worked on there is a way to take a dump of only part of the working-storage - say before and after some code that is suspect"
Could you tell me more about it? May be a have the tools i need. (An IBM manual?)
Thanks
JP |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
As i recall, there was a callable subroutine that was called with a ws label and a length:
CALL 'thecode' USING WS-LABEL LENGTH-TO-DUMP.
Say there was an array that was 1000 bytes long, this routine could be called before and after loading the array to verify the contents. Doing this reduced the amount of dump info to look thru. . .
There were similar implementations on quite a few systems i worked on. Possibly there is such a module on your system. . .
You might also look here for info on how you might create your own:
publib.boulder.ibm.com/infocenter/zos/v1r9/index.jsp?
Scroll down to MVS and expand this list. Then expand the Diagnostic Tools and Service Aids and read about SNAP Dumps. |
|
Back to top |
|
|
|