ILNAMESPACE

Specifies the default namespace for items such as classes when building a project.
Restriction: This directive is supported for .NET COBOL, but not native COBOL.

Syntax:

>>-----.---ILNAMESPACE--"namespace"---.--><
       +-NOILNAMESPACE----------------+

Parameters:

namespace The default namespace

Properties:

Default: NOILNAMESPACE
IDE equivalent: Click Project > Properties > COBOL > Additional Directives or Project > Properties > Application > Default Namespace

Comments:

If you set the directive using the $set command, its effect is to only set the default namespace for the current program; other source modules compiled in the same compilation unit are not affected. You include other source modules by using the ILSOURCE directive.

ILNAMESPACE applies only when the given type name itself has no namespace and has no effect on types which specify a namespace name explicitly in the source code.