ILLOADSTRING[10]

Determines the way that string loads are generated in a program compiled to .NET.
Restriction: This directive is supported for .NET COBOL only.

Syntax:

>>--ILLOADSTRING-"integer"-.----><

Parameters:

integer
One of:
0
The Compiler will generate ldstr instructions when a literal string is loaded. (.NET has a limit on the total length of strings in an assembly, that can be loaded in this way.) This is the default.
1
Strings are loaded from an internal literal pool (stored in UTF8).

Properties:

Default: ILLOADSTRING"0"
IDE equivalent: None

Comments:

Setting this directive to ILLOADSTRING"1" may be useful when compiling very large projects for which the error COBCH0857 System error - failure during ILASM phase has been returned.