Answer Posted / pradeep
SOC7 is a data exceptional error, means we load any junk
data into one field of a record.
we can resolve by these steps,
1.compile and run the program,in the spool we can find the
offset value for the job. note that offset value and run the
same job again with compiler option as LIST.
2.see the spool for the offset value where it is
located,means exactly in which numerical operation that
abbend occured.EG: total = salary + commision.
3.after the example statement we found the SOC7 error.
so, we knew that we found SOC7 there.
4.finally place the DISPLAY statement in the respective
paragraph we can found exactly where the updation is
failed.Means on stopped record there may be a junk value in
the record.
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
What is a bind in db2?
What is the cobol picture clause of the db2 data types date, time, timestamp?
My sql statement select avg(salary) from emp yields inaccurate results. Why?
What is bind package and plan in db2?
what is the sqlcode -501
How can we retrieve the total number of records in RPG & CLLE?
What do you mean by commit and rollback?
What is universal database?
Explain the contents that are a part of dclgen.
What is bind and rebind in db2?
What is database alias db2?
List down the data types in the db2 database.
what is db2 restart?
How to execute stored procedures?
What is the physical storage length of timestamp data type?