ILSTRINGLOAD

Restriction: This directive is supported for JVM COBOL only.
Strings being defined in a class are placed in a COBOL-specific backing file, where they are converting into strings at run time.

Use this directive to circumvent the limit on the number of strings that can be defined within a class file.

Syntax:

>>---ILSTRINGLOAD"value"-----><

Parameters:

value can be one of:

0
Strings are created as normal, and so could be susceptible to the limits imposed on the number of strings defined in a class file.
1
Strings are created in a COBOL-specific file, and then converted into strings at run time.

Properties:

Default: ILSTRINGLOAD"0"
$SET INITIAL

Comments:

When the limit on the number of strings is exceeded, a COBCH2353 JVM constant pool limit exceeded - try compiling with directive ilstringload(1) error is generated.