More Docker. Easy Access. New Streamlined Plans. Learn more.

opensourcecobol/opensourcecobol4j

By opensourcecobol

Updated 8 days ago

"open source COBOL 4J" is an open-source COBOL compiler that translates COBOL to Java.

Image

1.3K

opensource COBOL 4J and Open COBOL ESQL 4J.

"opensource COBOL 4J" is an open-source COBOL compiler that translates COBOL to Java. "Open COBOL ESQL 4J" is an open-source SQL precompiler for opensource COBOL 4J.

Execute the following commands in order to run the "Hello World" COBOL program.

# Move to the sample directory
cd /root/cobol_sample

# Translate COBOL to Java and compile the Java source file.
$ cobc HELLO.cbl

# The cobc compiler produces HELLO.java and HELLO.class
$ ls
HELLO.cbl  HELLO.class  HELLO.java

# Run "Hello World"
$ java HELLO
HELLO WORLD!

Tags and versions

Docker tagsopensource COBOL 4J versionOpen COBOL ESQL 4J version
latest1.1.21.1.1
202409301.1.21.1.1
1.1.21.1.21.0.3

Docker Pull Command

docker pull opensourcecobol/opensourcecobol4j