Mainframe Dumpmaster

Post on 02-May-2017

315 Views

Category:

Documents

5 Downloads

Preview:

Click to see full reader

Transcript

Trygg-HansaDumpmaster

Quick presentation

Dumpmaster Dumpfile for example dump is:SYSH.DUMPMAST.DUMPFILE.TH.example

Compiler listings for example dump is:SYSH.DUMPMAST.SOURCE.TH.example

You will have to enter above names manually at various points during this exercise ...

Start Dumpmaster

Start Dumpmaster with Short command DUMP orCommand TSO DUMPM

Dumpmaster Initial Menu

Set option to work with MVS dumps

Dumpmaster MVS dump selection

•Change Dump File dsn to example dumpfile

•Enter search criteria for dump selection

Dumpmaster Dump List

Place cursor to select DumpNo 1 - our example dump

PDS/PDSE Listing Choice

Supply Compiler Listing for example dump

Abend Summary Display - page 1

Press PF8 to see next page

Abend Summary Display - page 2

Press PF7 to see previous page

Abend Summary Display - page 1

Place cursor here and press Enter to get explanation of abend-code

Dumpmaster Abend Code Assistance

PF3 to return

Abend Summary Display

Place cursor in ’failing statement with data’ and press Enter

Failing Statement

Field PRUTPROCPL in structure COMM-KDYA0100 (in Linkage Section) is ’not valid PACKED-DEC’ !!!

Failing Statement

PF8 to see last page in Failing Statement display.

Let’s have a closer look at Data Division !

Data Division Map

Find area in question

Data Division Map

Here it is ! Now let’s find field in error - page forward (PF8) 3 times.

Data Division Map

Place cursor here and press Enter, to list complete structure

Data 1

Now find field in error

Data 1

Here it is !

Data 1

Other fields in WS looks OK,

so no storage overlay !

Display command

Lets find where field is referenced.

Use DISPLAY command to list displays built so far !

List of Current Displays

Select source for MDYA010I

Source

See where field is referenced !

Source

Apart from WS and abending statement, field is NOT referenced in this program !

Source

See where 01 level COMM-KDYA0100 is referenced !

Source

01 level COMM-KDYA0100 is first call parameter !

Source

Field in error is defined in Linkage Section and 01 level is first call parameter !

Let us have a look at who called us. Return to ’Abend Summary Display’ via DISPLAY command

Display

Select Abend Summary Display

Abend Summary Display - page 1

PF8 to see next page

Abend Summary Display - page 2

Select ’User programs in Call Sequence’

User programs in call sequence

Select ’Calling Cobol Statement’

PDS/PDSE Listing Choice

Supply Compiler Listing for example dump

Failing Statement

This is first call parameter !

Failing Statement

Page down (PF8) and select ’Full Data Division map’

Data Division Map

A ’F KDYA0100’ is unsuccessfull !

We will have to check source via DISPLAY command !

Display

Select ZDYA01 source ...

Source

Can we find KDYA0100 now ?

Source

Found it !

And 01 level is named ?

Source

TELON-SPA-AREA contains KDYA0100 !

Now return to Data Division Map (via Display command)

Data Division Map

Find area !

Data Division Map

Found it !

Page down (PF8) 3 times ...

Data Division Map

… to display complete structure.

Data 1

Find field !

Data 1

And here it is again !

Let us check ZDYA01 source for references to field in error (DISPLAY command) !

Display

Select ZDYA01 source

Source

Command ’f prutprocpl’ is issued.

Field PRUTPROCPL is not referenced directly in this program.

Conclusion

• TELON-SPA-AREA contains invalid data on entry to programs ZDYA01, MDYA010I

Dumpmaster

Advanced features

DMENU

Try DMENU command

Dump Menu

Select 4 USERNOTE

USERNOTE

Select WSTORAGE

Dump Display

Associate note myws (=wstorage)with this storage address

Dump Display

Now you can locate this storage with Command ===> myws

USERNOTE

Command USERNOTE (= DMENU 4) now shows usernote MYWS

Usernote can be deleted with command DELete notename

XFIND

Try XFIND command

XFIND

Try searching for x’00e800e8’

XFIND

Look closer at first hit !

Dump Display

This is field PRUTPROCPL !

Dump Display

Enter name of program

Dump Display

Try Dis-assembly command

DisAssembler

DisAssembler

Dump Display

Place cursor here and press Enter to re-enter Dump Display

Dump Display

Finish

.

top related