View previous topic :: View next topic
|
Author |
Message |
amitc23
New User
Joined: 05 Nov 2014 Posts: 96 Location: India
|
|
|
|
Hi Friends
I am getting a 0c7 abend while running a batch Job. I looked at the address and offset on the SYSOUT, but the offset does not seem to exist on the compile listing of the module which is indicated.
Code: |
The system detected a data exception (System Completion Code=0C7).
From compile unit X13R100 at entry point #Calc000000007 at compile unit offset +000000A2 at address 18C0F51A. |
I compiled X13R100 before this and the program seems to end at 00EE8
Code: |
008477 00EE1E MOVE 008480 00EE34 DISPLAY
008485 00EE6C DISPLAY 008487 00EEA0 DISPLAY
008493 00EEE8 EXIT
CONSTANT AREA
010768 (+0) 00CCDDFF 00000000 E5F8C2C2 D9F1F0F0 00000000 00000000 E5F8E4C2
|
I am not sure about the address #Calc000000007 (Not seen this before), generally it starts with 0000001.
Any help is greatly appreciated.
Thanks
Amit |
|
Back to top |
|
|
Rohit Umarjikar
Global Moderator
Joined: 21 Sep 2010 Posts: 3077 Location: NYC,USA
|
|
|
|
Usually the reason for SOC7 is an un-initialized numeric item. Look out OFFSET or LIST option selected in Compilation and how about searching +000000A2?
Double check all your numeric moves and add possible displays if you find this difficult tracing it back. |
|
Back to top |
|
|
John Del
New User
Joined: 27 Apr 2012 Posts: 42 Location: NY
|
|
|
|
SOC7's are usually fairly easy, but sometimes they can be stealthy.
Unless you want to use the old school dump offsets to drill down to your offending statement, I would cheat and, if available to you, use the TEST compiler option to get a formatted dump from the abending program along with the offending line number that corresponds to the compile listing.
Refer to the applicable IBM Cobol Programming Guide if interested. |
|
Back to top |
|
|
|