of 65 /65
Trygg-Hansa Dumpmaster Quick presentation

Mainframe Dumpmaster

Embed Size (px)

Citation preview

Page 1: Mainframe Dumpmaster

Trygg-HansaDumpmaster

Quick presentation

Page 2: Mainframe Dumpmaster

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 ...

Page 3: Mainframe Dumpmaster

Start Dumpmaster

Start Dumpmaster with Short command DUMP orCommand TSO DUMPM

Page 4: Mainframe Dumpmaster

Dumpmaster Initial Menu

Set option to work with MVS dumps

Page 5: Mainframe Dumpmaster

Dumpmaster MVS dump selection

•Change Dump File dsn to example dumpfile

•Enter search criteria for dump selection

Page 6: Mainframe Dumpmaster

Dumpmaster Dump List

Place cursor to select DumpNo 1 - our example dump

Page 7: Mainframe Dumpmaster

PDS/PDSE Listing Choice

Supply Compiler Listing for example dump

Page 8: Mainframe Dumpmaster

Abend Summary Display - page 1

Press PF8 to see next page

Page 9: Mainframe Dumpmaster

Abend Summary Display - page 2

Press PF7 to see previous page

Page 10: Mainframe Dumpmaster

Abend Summary Display - page 1

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

Page 11: Mainframe Dumpmaster

Dumpmaster Abend Code Assistance

PF3 to return

Page 12: Mainframe Dumpmaster

Abend Summary Display

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

Page 13: Mainframe Dumpmaster

Failing Statement

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

Page 14: Mainframe Dumpmaster

Failing Statement

PF8 to see last page in Failing Statement display.

Let’s have a closer look at Data Division !

Page 15: Mainframe Dumpmaster

Data Division Map

Find area in question

Page 16: Mainframe Dumpmaster

Data Division Map

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

Page 17: Mainframe Dumpmaster

Data Division Map

Place cursor here and press Enter, to list complete structure

Page 18: Mainframe Dumpmaster

Data 1

Now find field in error

Page 19: Mainframe Dumpmaster

Data 1

Here it is !

Page 20: Mainframe Dumpmaster

Data 1

Other fields in WS looks OK,

so no storage overlay !

Page 21: Mainframe Dumpmaster

Display command

Lets find where field is referenced.

Use DISPLAY command to list displays built so far !

Page 22: Mainframe Dumpmaster

List of Current Displays

Select source for MDYA010I

Page 23: Mainframe Dumpmaster

Source

See where field is referenced !

Page 24: Mainframe Dumpmaster

Source

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

Page 25: Mainframe Dumpmaster

Source

See where 01 level COMM-KDYA0100 is referenced !

Page 26: Mainframe Dumpmaster

Source

01 level COMM-KDYA0100 is first call parameter !

Page 27: Mainframe Dumpmaster

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

Page 28: Mainframe Dumpmaster

Display

Select Abend Summary Display

Page 29: Mainframe Dumpmaster

Abend Summary Display - page 1

PF8 to see next page

Page 30: Mainframe Dumpmaster

Abend Summary Display - page 2

Select ’User programs in Call Sequence’

Page 31: Mainframe Dumpmaster

User programs in call sequence

Select ’Calling Cobol Statement’

Page 32: Mainframe Dumpmaster

PDS/PDSE Listing Choice

Supply Compiler Listing for example dump

Page 33: Mainframe Dumpmaster

Failing Statement

This is first call parameter !

Page 34: Mainframe Dumpmaster

Failing Statement

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

Page 35: Mainframe Dumpmaster

Data Division Map

A ’F KDYA0100’ is unsuccessfull !

We will have to check source via DISPLAY command !

Page 36: Mainframe Dumpmaster

Display

Select ZDYA01 source ...

Page 37: Mainframe Dumpmaster

Source

Can we find KDYA0100 now ?

Page 38: Mainframe Dumpmaster

Source

Found it !

And 01 level is named ?

Page 39: Mainframe Dumpmaster

Source

TELON-SPA-AREA contains KDYA0100 !

Now return to Data Division Map (via Display command)

Page 40: Mainframe Dumpmaster

Data Division Map

Find area !

Page 41: Mainframe Dumpmaster

Data Division Map

Found it !

Page down (PF8) 3 times ...

Page 42: Mainframe Dumpmaster

Data Division Map

… to display complete structure.

Page 43: Mainframe Dumpmaster

Data 1

Find field !

Page 44: Mainframe Dumpmaster

Data 1

And here it is again !

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

Page 45: Mainframe Dumpmaster

Display

Select ZDYA01 source

Page 46: Mainframe Dumpmaster

Source

Command ’f prutprocpl’ is issued.

Field PRUTPROCPL is not referenced directly in this program.

Page 47: Mainframe Dumpmaster

Conclusion

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

Page 48: Mainframe Dumpmaster

Dumpmaster

Advanced features

Page 49: Mainframe Dumpmaster

DMENU

Try DMENU command

Page 50: Mainframe Dumpmaster

Dump Menu

Select 4 USERNOTE

Page 51: Mainframe Dumpmaster

USERNOTE

Select WSTORAGE

Page 52: Mainframe Dumpmaster

Dump Display

Associate note myws (=wstorage)with this storage address

Page 53: Mainframe Dumpmaster

Dump Display

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

Page 54: Mainframe Dumpmaster

USERNOTE

Command USERNOTE (= DMENU 4) now shows usernote MYWS

Usernote can be deleted with command DELete notename

Page 55: Mainframe Dumpmaster

XFIND

Try XFIND command

Page 56: Mainframe Dumpmaster

XFIND

Try searching for x’00e800e8’

Page 57: Mainframe Dumpmaster

XFIND

Look closer at first hit !

Page 58: Mainframe Dumpmaster

Dump Display

This is field PRUTPROCPL !

Page 59: Mainframe Dumpmaster

Dump Display

Enter name of program

Page 60: Mainframe Dumpmaster

Dump Display

Try Dis-assembly command

Page 61: Mainframe Dumpmaster

DisAssembler

Page 62: Mainframe Dumpmaster

DisAssembler

Page 63: Mainframe Dumpmaster

Dump Display

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

Page 64: Mainframe Dumpmaster

Dump Display

Page 65: Mainframe Dumpmaster

Finish

.