Skip to content

moriyama/Open-COBOL-ESQL-4j

 
 

Repository files navigation

Open COBOL ESQL 4J

Open COBOL ESQL 4J (OCESQL 4J) consits of open-source Embedded SQL pre-compiler and run time libraries for opensource COBOL 4J.

Requirements

  • Open-source database. OCESQL 4J currently supports PostgreSQL database only.

  • opensource COBOL 4j v1.0.5 or later.

  • sbt(Optional).

Installation

Install the pre-compiler:

Run the following commands.

./configure --prefix=/usr/
make
make install

Install runtime libraries:

JDBC driver

Download the PostgreSQL JDBC driver and add the path to $CLASSPATH.

ocesql4j.jar

Download the runtime library ocesql4j.jar in Release page and add the path to $CLASSPATH.

Build ocesql4j.jar from source codes (Optional)

  1. Put the libcobj.jar (runtime library of opensource COBOL 4j) into dblibj/lib/.
  2. Move to dblibj directory and launch sbt.
  3. Run assembly command to create dblibj/target/scala-2.13/ocesql4j.jar.

Usage

Usage manuals is under construction. See test cases or sample programs.

TODO

  • Support other COBOL data types (COMP3, SIGN LEADING, ... etc).
  • Create docker images.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 59.4%
  • C 21.8%
  • Scala 9.0%
  • Makefile 6.8%
  • Lex 1.2%
  • Yacc 1.1%
  • Other 0.7%