View previous topic :: View next topic
|
Author |
Message |
Miraj Ali Salabudeen
New User
Joined: 07 Sep 2009 Posts: 1 Location: Chennai
|
|
|
|
What is the defference between SYSDUMP and CEEDUMP? What is an offset value? To where it is used and how? |
|
Back to top |
|
|
Gnanas N
Active Member
Joined: 06 Sep 2007 Posts: 792 Location: Chennai, India
|
|
|
|
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 |
|
|
Gnanas N
Active Member
Joined: 06 Sep 2007 Posts: 792 Location: Chennai, India
|
|
|
|
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 |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
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 |
|
|
Kjeld
Active User
Joined: 15 Dec 2009 Posts: 365 Location: Denmark
|
|
|
|
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 |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
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. . .
A hex calculator is built into Windows Accessories |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
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 |
|
|
Kjeld
Active User
Joined: 15 Dec 2009 Posts: 365 Location: Denmark
|
|
|
|
Time to pull out the S/370 Reference Summary Card to decipher which instruction triggered the exception.... |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
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 |
|
|
Terry Heinze
JCL Moderator
Joined: 14 Jul 2008 Posts: 1248 Location: Richfield, MN, USA
|
|
|
|
Kjeld wrote: |
Time to pull out the S/370 Reference Summary Card to decipher which instruction triggered the exception.... |
Would that be the yellow booklet or the green card? |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
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 |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
Back to top |
|
|
Terry Heinze
JCL Moderator
Joined: 14 Jul 2008 Posts: 1248 Location: Richfield, MN, USA
|
|
|
|
Nope; I was referring to the one Dick mentioned. |
|
Back to top |
|
|
Kjeld
Active User
Joined: 15 Dec 2009 Posts: 365 Location: Denmark
|
|
|
|
Terry Heinze wrote: |
Kjeld wrote: |
Time to pull out the S/370 Reference Summary Card to decipher which instruction triggered the exception.... |
Would that be the yellow booklet or the green card? |
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.
I found a collection here. |
|
Back to top |
|
|
|