Menu

Help with COBOL

Anonymous
2016-06-09
2016-06-09
  • Anonymous

    Anonymous - 2016-06-09

    Hi all, I'm looking for help regarding Cobol programming language.

    I found some old sources from the late 80s, which were compiled with mbp cobol (that doesn't exist anymore, right?). So I recompiled them using openCobol IDE. But during the execution there's an error alert saying SCRNOPEN library wasn't found. Probably it's a library from the old compiler. How can I solve this?

    Thanks in advance for your help.

     
    • Simon Sobisch

      Simon Sobisch - 2016-06-09

      Not sure what mbp cobol is. The first step would be to check what happens when you simply have a dummy. Just create an empty COBOL module with the name/program-id SCRNOPEN and compile it, too [if there aren't too many places: it would be better to add an ON EXCEPTION CONTINUE to the CALL] - if you find out what the system library should do you can add it to the created dummy COBOL module later.

      Then have a look what the program does afterwards.

      Despite the sources you may need additional files the program want to access (leading to another runtime error).

       

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB