-
Notifications
You must be signed in to change notification settings - Fork 13
Usage Manual
yutaro-sakamoto edited this page Aug 29, 2023
·
3 revisions
Detailed usage manuals are under construction.
Here, the way to compile and run sample programs in sample/
is provided.
- Move to
sample/
directory usingcd
command - Copy sqlca.cbl in
../copy/
to the current directory. - Precomple sample programs.
ocesql INSERTTBL.cbl INSERTTBL.cob
ocesql FETCHTBL.cob FETCHTBL.cob
- Compile generated COBOL programs with opensource COBOL 4J.
cobj INSRTTBL.cob FETCHTBL.cob
- Execute programs
java INSERTTBL
java FETCHTBL