Menu

#984 OSVS Cobol Report Writer compile fails

unclassified
open
nobody
None
4
2024-08-30
2024-08-21
No

Hello,
I am trying a Report Writer program. My notes say it needs the IBM compiler option of NOADV and a dialect (or at least a syntax/semantic check) for OSVS Cobol.
I runs fine under Micro Focus but they have a diective for OSVS and NOADV. Is there some option I can use. I only see a perform-type and arithmetic option.
The compile fails with these errors:
unexpected tree category: 1
codegen.c:5258: internal compiler error
aborting codegen for rptwtr1.cbl, last statement at line 130 (PROGRAM-ID: RPTWTR1)
Please report this!

What can I do to get this to compile and run?
Supplied files:
Cobol source
Input data file
Screen capture of error
Output file
Complete capture of MF compile/run/type of output file

Thanks! Vince

1 Attachments

Discussion

  • Simon Sobisch

    Simon Sobisch - 2024-08-21

    interesting would be cobc --version...

     
  • Vince Esparza

    Vince Esparza - 2024-08-21

    C:>cobc --version
    cobc (GnuCOBOL) 3.2.0
    Copyright (C) 2023 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later https://gnu.org/licenses/gpl.html
    This is free software; see the source for copying conditions. There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    Written by Keisuke Nishida, Roger While, Ron Norman, Simon Sobisch, Edward Hart
    Built Jul 28 2023 19:10:09
    Packaged Jul 28 2023 17:02:56 UTC
    C version (MinGW) "9.2.0"

     
  • Vince Esparza

    Vince Esparza - 2024-08-21

    (I modified my win cmd prompt to not display the banner)

     
  • Vince Esparza

    Vince Esparza - 2024-08-22

    I found these file in c:\temp see attached

     
  • Vince Esparza

    Vince Esparza - 2024-08-30

    Hello, I changed the program to use Line Sequential as input. I only passed Micro Focus the OSVS directive and it works fine for Micro Focus. It still blows up with GnuCobol. See attachment. Thanks, Vince

     
    • Simon Sobisch

      Simon Sobisch - 2024-08-31

      The internal compiler error is always a bug. I will try to inspect this issue very soon, maybe tomorrow.

       

Log in to post a comment.