• 1.  S0C4 after upgrade COBOL 5.1

    Posted 08-03-2016 04:44 AM

    Someone has suffered abends S0C4 in IDMS-DC after upgrading  COBOL to v5.1?

    We haven't recompiled all programs. Only the new/updated  programs are in v.5.1.

    Our compile options for COBOL 5.1 : ARCH(10),RENT,NOTEST,TRUNC(OPT),NOSEQ,NODYNAM


    IDMS:  r.18.5

    z/OS: 2.1

  • 2.  Re: S0C4 after upgrade COBOL 5.1

    Broadcom Employee
    Posted 08-03-2016 05:03 AM

    Hi, Jesus,

    Make sure you have RO59841 and RO60833.

    See also RO87502 for S0C4 abends with LOOK.

    If none of this helps then I suggest you open a support issue.

    Best regards,

    Ian Hill.

  • 3.  Re: S0C4 after upgrade COBOL 5.1

    Posted 08-03-2016 06:20 AM

    Hi, Ian.

    We have these two PTFs applied (I saw before upgrading), and the abend occurs when running application programs, not executing LOOK.

    We are investigating compile time options. It seems that we have an old home made assembler also involved...

    I'll tell you if we reach conclusions.

    Thank you.

    Best regards.

  • 4.  Re: S0C4 after upgrade COBOL 5.1
    Best Answer

    Posted 08-03-2016 09:32 AM

    You may want to look at the old assembler program and make sure it is LE compliant.  Also look at the old Cobol programs, are they OS/VS COBOL, that could be an issue, also something about static calls to AMODE 24 programs.

    You write you have LE COBOL V 5.1, you may want to be at version 5.1.1.

    See this link:

  • 5.  Re: S0C4 after upgrade COBOL 5.1

    Posted 08-04-2016 03:07 AM

    Finally, the problem was with a assembler program. Actually, it was a COBOL-DC program that dinamically 'CALLs' the assembler program instead 'TRANSFER LINK'.  Compiling in COBOL 4.2 it works; in 5.1 it abends. 

    Fortunately, it is our only program that made it so. :-)

    Thanks Tommy & Ian.

    Best regards.

  • 6.  Re: S0C4 after upgrade COBOL 5.1

    Posted 08-04-2016 10:09 AM

    You are welcome, I am glad my comments helped although it was not a direct hit.