View previous topic :: View next topic
|
Author |
Message |
Niti Srivastava
New User
Joined: 15 Feb 2015 Posts: 1 Location: India
|
|
|
|
Hi,
M getting following error :
Spool Details are :
Code: |
cd-co: 0012
HJ23-CU0575A-KEY-GRP:
LJ23-CU0575A-KEY-GRP:
TABLE-MAX: IN 9300-000{
TABLE-MAX: IN 9300-000A
CEE3207S The system detected a data exception (System Completion Code=0C7).
From compile unit CURP8703 at entry point CURP8703 at compile unit offset +000031BA at entry offset +000031BA at address 21403F5A. |
I am unable to find out where is it throwing the S0C7 error. |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
What is the PICTURE clause of "TABLE-MAX"? |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
Quote: |
I am unable to find out where is it throwing the SOC7 error. |
Unlike C and Java and other such languages, COBOL (like most mainframe languages) does NOT "throw errors" -- it generates ABENDS. Terminology is critical in IT where similar terms may mean very different things -- and you need to learn mainframe terminology.
Second, the system tells you the offset in the program where the ABEND occurred -- a compile of the program will give you the offsets for each statement, and as long as you can compare hexadecimal values you can figure out which COBOL statement includes offset 31BA. So there is no reason you would be unable to find out where the ABEND is occurring. Figuring out why the ABEND occurred may be more difficult but certainly not impossible. |
|
Back to top |
|
|
Rohit Umarjikar
Global Moderator
Joined: 21 Sep 2010 Posts: 3076 Location: NYC,USA
|
|
|
|
Welcome!!
Please add sufficient display to get close to problem or quicker way as Robert suggested please look into compile listing and search for 31BA ro get the like number. |
|
Back to top |
|
|
don.leahy
Active Member
Joined: 06 Jul 2010 Posts: 765 Location: Whitby, ON, Canada
|
|
|
|
Robert Sample wrote: |
Quote: |
I am unable to find out where is it throwing the SOC7 error. |
Unlike C and Java and other such languages, COBOL (like most mainframe languages) does NOT "throw errors" -- it generates ABENDS. Terminology is critical in IT where similar terms may mean very different things -- and you need to learn mainframe terminology.
|
Agree that Cobol programs on the mainframe do not 'throw' errors. Though if they did they would throw them faster and more reliably than programs running on other platforms. |
|
Back to top |
|
|
|