Visual COBOL - Migration from RM/Cobol

[Migrated content. Thread originally posted on 15 February 2011]

In RM/Cobol people can compile cobol sources to a .COB object file.
This file is cross platform and can be used on every platform (win, linux, solaris, ...).

Is this possible with Visual COBOL ? Or do we have to link every for every platform ?

Best regards,

  • Verified Answer

    RM uses interpreted code.

    Visual COBOL generates native object code that needs to be linked to executable format.
    This does mean that a compiler for the target system must be installed for each different object format.

    The exception to this is if you use the JVM option of the Visual COBOL for Eclipse compiler.
    This will generate true Java byte code in .class format that can be moved across different platforms and run under the JVM on each machine.