How can I optimize the strings management?

Question ID : 245
Created on 2015-04-20 at 8:34 AM
Author : Veryant Support [support@veryant.com]

Online URL : http://support.veryant.com/support/phpkb/question.php?ID=245



Operations on alphanumeric items, such as INSPECT and UNSTRING, can be optimized by compiling the COBOL program with -b option. This option causes isCOBOL to handle the data item using a byte array instead of an object, causing the string management to be faster.

Example:

iscc -b myprogram.cbl
or
java com.iscobol.compiler.Pcc -b myprogram.cbl

NOTE: The -b option avoids you to use national data items.


Back to Original Question