Example directives.mf File

# The following line marks that the directives.mf is the root.
@root

# Wrap a glob pattern in square brackets to define a new directive block.
[*.cbl]
sourceformat(variable)

# Patterns are case-sensitive on all platforms
[*.{cbl,cob,CBL}]

# Variable subsitution
[builtin.cbl]
copypath(${root.dir}cpy)
copypath(${source.dir}cpy)
copypath(cpy${os.ds}sub)
copypath(cpy${os.ps}inc)
constant EPATH (${env.PATH})

# Other glob patterns
[mf*.cbl]
dialect(mf)

[sql/*.cbl]
sql(odbc)


[*.cbl]
copypath(${directives.dir}cpy)