directives.mf is a text file written in the style of .editorconfig, which is based on the .ini style. You can create and edit a directives.mf file using any text editor. The following list describes each component of directives.mf:
[*.{cbl,cob,CBL}]
or
[builtin.cbl]
The file extension specification(s) indicate the type of code and therefore which compiler to use.
DIALECT(MF) SOURCEFORMAT(VARIABLE) SQL(BEHAVIOR=OPTIMIZED)
Variable | UNIX | Windows |
---|---|---|
${root.dir} | /app/ | C:\app\ |
${directives.dir} | /app/src/ | C:\app\src\ |
${source.path} | /app/src/init.cbl | C:\app\src\init.cbl |
${source.dir} | app/src/ | C:\app\src\ |
${source.basename} | init.cbl | init.cbl |
${source.name} | init | init |
${source.ext} | .cbl | .cbl |
${env.TERM} | xterm | xterm |
${os.ds} | / | \ |
${os.ps} | : | ; |