Absent Member.
Absent Member.
1130 views

Visual COBOL - Migration from RM/Cobol

Jump to solution

[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,

Renzo
0 Likes
1 Solution

Accepted Solutions
Micro Focus Expert
Micro Focus Expert
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.

View solution in original post

0 Likes
1 Reply
Micro Focus Expert
Micro Focus Expert
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.

View solution in original post

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.