Soc7 Abend Reason For SOC7 ABEND

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

SOC7 ABEND

Reason for SOC7 ABEND:

1) Performing arithmetic operation on non-numeric values


2) Moving non-numeric to numeric/comp data items also known as variables

In other words we say SOC7 is caused by bad data but not by business logic.

Steps to Resolve

S0C7 Error the description comes in last line of run JCL SDSF
Press F11 (to scroll to right) to see the offset value clearly
COM1 is my program name

Take down the Offset value given in the message

Then go to the SDSF output of compile JCL


(Don’t forget to use XREF complier option at the time of compilation)
Go to complier listing (i.e. the SDSF for compile JCL

The offset is provided for each line with HEXLOC along with line number
(See the above picture)

Check with offset value is in which range


For example
The offset in our program is +000002E0
The line 14 (LINE # 000014) has the offset value of 0002D6 which indicates the starting
value
As line 15 is a comment in my program it will not be displayed in the listing

The line 16 (LINE # 000016) has the offset value of 0002F0

The offset is in the range of starting offset of line 14 and line 16 offset clearly indicating line
14 has the error
The offset in our program is +000002E0 is less than the 0002F0 offset value of line 16 but
Greater than 0002D6 line 14 offset value of so the error lies in line 14.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy