IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

The Diff 'twix SYSDUMP & CEEDUMP


IBM Mainframe Forums -> ABENDS & Debugging
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Miraj Ali Salabudeen

New User


Joined: 07 Sep 2009
Posts: 1
Location: Chennai

PostPosted: Tue Mar 09, 2010 11:23 am
Reply with quote

What is the defference between SYSDUMP and CEEDUMP? What is an offset value? To where it is used and how?
Back to top
View user's profile Send private message
Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 792
Location: Chennai, India

PostPosted: Tue Mar 09, 2010 11:33 am
Reply with quote

Hi,

Robert Sample wrote:
CEEDUMP is used by Language Environment for a formatted dump when an abend occurs. If the problem is related to an LE condition, this dump can be helpful in debugging the cause of the failure. If the problem is not related to LE, this dump may be misleading.

SYSDUMP is used by the system for dumping when an abend occurs that causes a system dump (hence the DD name). This dump can be very long but will usually identify the cause of the problem -- although it may require an expert in dump reading to identify the cause.

What is SYSBUMP in the title?
Back to top
View user's profile Send private message
Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 792
Location: Chennai, India

PostPosted: Tue Mar 09, 2010 11:59 am
Reply with quote

Hi,
Quote:
What is an offset value? To where it is used and how
This link (from LE Debugging Guide) explains how to debug COBOL programs (three examples) - Debugging COBOL programs

And there are examples for PL/I and other languages too.
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Sat Mar 13, 2010 9:01 pm
Reply with quote

Hi Miraj,

In the context of dump reading, "offset" is the number of bytes from the beginning of the module to the assembler instruction that caused the abend.

This allows you to go to your compiler listing (provided you selected the compiler options "LIST,NOOFF") and find the offending instruction in the pgm.

The above applies to modules executed directly from the JCL EXEC stmt and dynamically CALLed modules.

If the abend occurred in a "statically" CALLed module the process is a little more complicated, but we'll leave that discussion for another time.
Back to top
View user's profile Send private message
Kjeld

Active User


Joined: 15 Dec 2009
Posts: 365
Location: Denmark

PostPosted: Tue Mar 16, 2010 6:19 pm
Reply with quote

Quote:
What is an offset value? To where it is used and how?

Offset is more generally the displacement from a base address in storage where a given position of executable code, or piece af data is located.

The working storage of your modules is also organised this way, with Base Locator (BL) cells that specify the origin, and each variable is mapped with an offset to the BL address value. Dump routines will sometimes list absolute adresses, and sometimes list the base value, and storage with offset addresses, depending on configuration of dump tools.

To get the absolute address, you should add the base locator value and the offset value. Here a calculator with hexadecimal capability come in handy.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Tue Mar 16, 2010 7:20 pm
Reply with quote

SYSDUMP is unknown to me, or it has to be used in an ABEND exit routine.
SYSUDUMP/SYSABEND were the ones i was confronted with in this life.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Tue Mar 16, 2010 9:06 pm
Reply with quote

Hello,

Quote:
Here a calculator with hexadecimal capability come in handy.
The good news is that one no longer needs a TI (Texas Instruments) Programmer. . . icon_smile.gif

A hex calculator is built into Windows Accessories icon_cool.gif
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Tue Mar 16, 2010 9:11 pm
Reply with quote

Quote:

The good news is that one no longer needs a TI (Texas Instruments) Programmer. . .

A hex calculator is built into Windows Accessories


All those gadgets, a real man still does the hex/dec (etc)
conversions manually.
Takes some time, but then you know you have accomplished
something.
Back to top
View user's profile Send private message
Kjeld

Active User


Joined: 15 Dec 2009
Posts: 365
Location: Denmark

PostPosted: Wed Mar 17, 2010 1:31 pm
Reply with quote

Time to pull out the S/370 Reference Summary Card to decipher which instruction triggered the exception.... icon_cool.gif
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Wed Mar 17, 2010 1:47 pm
Reply with quote

As we speak im just reading again that wonderfull CE Handbook :

OS/VS2 System Programming Library : Debugging Handbook

Last update : September 30, 1974

A real collectors item
Back to top
View user's profile Send private message
Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1249
Location: Richfield, MN, USA

PostPosted: Wed Mar 17, 2010 8:20 pm
Reply with quote

Kjeld wrote:
Time to pull out the S/370 Reference Summary Card to decipher which instruction triggered the exception.... icon_cool.gif
Would that be the yellow booklet or the green card? icon_lol.gif
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Wed Mar 17, 2010 9:43 pm
Reply with quote

Hello,

As i recall, the s/360 reference was the "green card". . .

Before the s/370 booklet, there was a "yellow card" as well. . . Then the "stuff" to be included outgrew "the card".
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Wed Mar 17, 2010 10:16 pm
Reply with quote

Quote:

"green card"


Thats for getting a permit to stay in the America's?

There is a nice movie about that :

www.imdb.com/title/tt0099699/
Back to top
View user's profile Send private message
Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1249
Location: Richfield, MN, USA

PostPosted: Thu Mar 18, 2010 3:35 am
Reply with quote

Nope; I was referring to the one Dick mentioned. icon_smile.gif
Back to top
View user's profile Send private message
Kjeld

Active User


Joined: 15 Dec 2009
Posts: 365
Location: Denmark

PostPosted: Thu Mar 18, 2010 2:28 pm
Reply with quote

Terry Heinze wrote:
Kjeld wrote:
Time to pull out the S/370 Reference Summary Card to decipher which instruction triggered the exception.... icon_cool.gif
Would that be the yellow booklet or the green card? icon_lol.gif

I have a yellow card 4th edition Nov. 1976 (form GX20-1850-3) and a yellow booklet, 7th edition July 1986 (form GX20-1850-6). 5th edition, Oct. 1981 is also a yellow booklet. The green cards were earlier then, that is the S/360 cards, as Dick stated. icon_smile.gif

I found a collection here.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> ABENDS & Debugging

 


Similar Topics
Topic Forum Replies
No new posts Sort on different fields, removing du... SYNCSORT 8
No new posts How syntax check at Bind time is diff... DB2 5
No new posts Compare PD Values with same storage &... JCL & VSAM 5
No new posts merge records from 2 ps files with di... DFSORT/ICETOOL 6
No new posts CEEDUMP & Diagnostic message in S... COBOL Programming 4
Search our Forums:

Back to Top