How to resolve the soc4 and soc7 errors?
Answers were Sorted based on User's Feedback
Answer / ashu
soc-4 Storage violation error
soc-7 Invalid data in numeric field
| Is This Answer Correct ? | 14 Yes | 0 No |
Answer / param
You have to look at the dump and note down the offset
address.Then check the instruction with this offset address
in the program compilation output.
Or
If you are blessed with having debugging tools then life is
a lot easier.Debug the program , the execution will stop at
the abending instruction.The advantage is that you can skip
through the statement with changing values and see if there
are any other abends in the program apart from this.Usually
very useful for resolving multiple S0C7 abends at one go!
If i'm wrong..ppl are welcome to correct me!
| Is This Answer Correct ? | 9 Yes | 0 No |
Answer / billyboyo
The general technique for any abend in an IBM Cobol program
is the same. Look at the dump. Find the address of the
instruction that is failing. Find the program the
instruction is in. Find the displacement of the failing
instruction in the program. Find the program statement from
that.
Then, having identified the line of code and the field(s)
involved, work out what got messed up. It could be the
data, it could be your code, it could be someone else's
code. There are even other rare possibilities.
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / swamy
soc4 when u r tryng to access a memory location for which u
don't hav access
soc7 non numeric operation on numeric field
| Is This Answer Correct ? | 9 Yes | 7 No |
Answer / nagappa
Soc4 can resolved using mispleed dd name and dd name is not
matching with file
and soc7 check the sysdump and copy the offest address then
correct it in the program.
| Is This Answer Correct ? | 8 Yes | 19 No |
whats the difference between search and search all?
What is the reference modification.
.How to add one input & one Out file in existing cobol program. how approach tell me step by step.
How do you set a return code to the JCL from a COBOL program?
WE HAVE 2 FILES IN COBOL. ONE IS FIXED LENGTH RECORDS ANOTHER ONE IS VARIABLE LENGTH. IF I DECLEAR LRECL OF FIXED ONE AS 80 AND 2ND RECORD AS 132. WHAT WE NEED TO DECLEAR LRECL FOR THOSE 2 FILES IN JCL?
give the examples of strings in cobol
how can we code index in an array of cobol pgm?
where do u use low-value and high value in cobol
What is the difference between PIC 9.99 and 9v99 in COBOL?
0 Answers SwanSoft Technologies,
how many maximum no of variables can be declared in linkage section ?
What is link edit in cobol?
IF there 5 to 6 files in a JCL and there is some space abends, how can we identify which file has space abend and what can be done to get off that abend or rectify that abend.