Answered Questions

  • What is soc4 & soc7 errors?

    Star Read Best Answer

    Editorial / Best Answer

    VInodReddy  

    • Member Since Mar-2006 | Mar 9th, 2006


    SOC4 abend may be due to the following reasons.

    1.Missing SELECT statement ( During Compile time)

    2.Bad Subscript/Index

    3.Read/Write attempt to unopened file

    4.Move data to/from unopened file

    5.Missing parameters in called subprogram

    SOC7 abend may be due to the following reasond

    1.Numeric Operation on Non-numeric data

    2.Coding past the maximum allowed subscript.

    3.Un-initialize working storage.

    Please let me know if there more reasons for the above mentioned abends.

    Chinmay

    • Aug 10th, 2011

    Soc4-Protection exception, usually caused by an invalid index and subscript to an array

    soc7-Caused due to bad data, in case of numeric data we are moving non-numeric,in case of numeric comparison we are finding space