Compilation Config File
This chapter describes the config file that configures compilation options used by OFCOBOL.
1. Overview
Predefine options of ofcob or ofcbpp in the config file. The configured information takes precedence over the commands written directly to ofcob or ofcbpp.
Options have priority in the following order:
-
config file
-
dommand
-
defalut value
The config file is always saved as compile.config in the following location.
$OFCOB_HOME/config/
2. config file
The following is an example of compile.config.
-
Usage
{ "ENABLE_REPORT_WRITER": "OFF", "ENABLE_OSVS": "OFF", "ENABLE_OFASM": "OFF", "ENABLE_CBLTDLI": "OFF", "ENABLE_AERTDLI": "OFF", "CHECK_INDEX": "OFF", "COLLATING_SEQUENCE": "ASCII" }
-
Options
The following describes each configuration item. You can check the usage from $OFCOB_HOME/config/compile.conf.example.
Option Description ENABLE_REPORT_WRITER
Same as --enable-rw of ofcob, ofcbpp. Has influence on both ofcob and ofcbpp.
ENABLE_OSVS
Same as --enable-osvs of ofcob, ofcbpp. Has influence on both ofcob and ofcbpp.
ENABLE_OFSAM
Same as --enable-ofasm of ofcob. Has influence on ofcob.
ENABLE_CBLTDLI
Same as --enable-cbltdli of ofcob. Has influence on ofcob.
ENABLE_AERTDLI
Same as --enable-aertdli of ofcob. Has influence on ofcob.
CHECK_INDEX
Same as --check-index of ofcob. Has influence on ofcob.
COLLATING_SEQUENCE
Either ASCII or EBCDIC.
If EBCDIC is specified, this option is the same as --collating-seq-ebcdic of ofcbpp and has influence on ofcbpp.