Hi,
Can we get to know which field in the record is having bad data in SOC7 Abend.How?
Any suggestions are welcome
Thanks!
Field in the Record(SOC7 Abend)
-
- Posts: 43
- Joined: Tue Dec 07, 2010 5:32 pm
- Skillset: COBOL,JCL,DB2,VSAM,CA7
- Referer: Google
-
- Global moderator
- Posts: 3805
- Joined: Tue Jan 25, 2011 12:02 am
- Skillset: Easytrieve Plus, Cobol, Utilities, that sort of stuff
- Referer: Google
Re: Field in the Record(SOC7 Abend)
Does your Abend tell you the OFFSET of the failing instruction? If so, find that in the program, and it should be clearer which field is causing the problem. If you don't have an OFFSET, you'll need to find the address of the failure, the start of your program and subtract the two to calculate your own OFFSET.
- Akatsukami
- Global moderator
- Posts: 1058
- Joined: Sat Oct 16, 2010 2:31 am
- Skillset: Rexx, JCL, DB2/SQL, TSO/ISPF, PL/I
- Referer: ibmmainframes
- Location: Bloomington, IL
- Contact:
Re: Field in the Record(SOC7 Abend)
No, because the S0C7 abend may not necessarily be caused by data directly derived from an input record.
The exact method of debugging will vary slightly depending on the source language. In general, however:
The exact method of debugging will vary slightly depending on the source language. In general, however:
- Get the offset within the load module and routine of the failing machine instruction.
- Find the source instruction containing that machine instruction in the program map.
- Get the address(es) of the packed decimal variable(s) used by that source instruction in the data map.
- Find those locations in the dump.
- Determine what is the bad data, and in necessary where it came from.
"You have sat too long for any good you have been doing lately ... Depart, I say; and let us have done with you. In the name of God, go!" -- what I say to a junior programmer at least once a day
-
- Similar Topics
- Replies
- Views
- Last post
-
- 1
- 1753
-
by sergeyken
View the latest post
Fri Mar 26, 2021 11:59 pm
-
-
Copy partial record after a string in a record using SORT.
by Esmayeelhusen » Thu May 04, 2023 3:03 pm » in DFSORT/ICETOOL/ICEGENER - 16
- 4093
-
by Esmayeelhusen
View the latest post
Mon May 22, 2023 3:50 pm
-
-
- 0
- 2118
-
by MainframeCoder
View the latest post
Thu Oct 14, 2021 6:13 am
-
- 0
- 1789
-
by bwissink
View the latest post
Thu Sep 02, 2021 10:04 pm
-
- 3
- 1783
-
by Blackthorn
View the latest post
Fri Mar 05, 2021 9:34 pm