Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Reading a dump

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging
View previous topic :: :: View next topic  
Author Message
jptools

New User


Joined: 04 Oct 2008
Posts: 8
Location: Cuernavaca Morelos Mexico

PostPosted: Thu Aug 26, 2010 8:25 am    Post subject: reading a DUMP
Reply with quote

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
View user's profile Send private message

dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Thu Aug 26, 2010 8:58 am    Post subject:
Reply with quote

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
View user's profile Send private message
jptools

New User


Joined: 04 Oct 2008
Posts: 8
Location: Cuernavaca Morelos Mexico

PostPosted: Thu Aug 26, 2010 9:19 am    Post subject: I found a reason of missing working-storage dump
Reply with quote

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
View user's profile Send private message
jptools

New User


Joined: 04 Oct 2008
Posts: 8
Location: Cuernavaca Morelos Mexico

PostPosted: Fri Aug 27, 2010 3:45 am    Post subject: take a look on this document on internet
Reply with quote

COBOL – Dump-Analyse im z/OS
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Fri Aug 27, 2010 5:39 am    Post subject:
Reply with quote

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
View user's profile Send private message
jptools

New User


Joined: 04 Oct 2008
Posts: 8
Location: Cuernavaca Morelos Mexico

PostPosted: Fri Aug 27, 2010 8:24 am    Post subject:
Reply with quote

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
View user's profile Send private message
jptools

New User


Joined: 04 Oct 2008
Posts: 8
Location: Cuernavaca Morelos Mexico

PostPosted: Thu Sep 02, 2010 3:23 am    Post subject: there is a way to take a dump of only part of the working-st
Reply with quote

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
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Thu Sep 02, 2010 8:59 am    Post subject:
Reply with quote

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:
http://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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Problem reading GTF trace output danik56 ABENDS & Debugging 7 Thu Mar 16, 2017 1:02 pm
No new posts DUMP DATASETS VS TRACE DATASETS! lind sh CICS 4 Tue Dec 06, 2016 11:31 pm
No new posts Reading data from PS file and send it... rajatbagga All Other Mainframe Topics 18 Fri Sep 23, 2016 12:51 pm
No new posts Reading selected volumes of a multi-v... RickBig JCL & VSAM 6 Wed Jul 13, 2016 7:26 pm
No new posts Need Short Cut to Take Dump of Volumes newsysprg JCL & VSAM 4 Wed Jul 13, 2016 5:54 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us