Top
NetCOBOL V11.0 J Adapter Class GeneratorUser's Guide
FUJITSU Software

5.6.6 GET-STRING-LENGTH-N method (object method)

Explanation

This method returns the length of the character string of the String object as the length (number of characters) of the national data item.

Syntax

INVOKE anObject "GET-STRING-LENGTH-N" RETURNING stringLength

Parameter and return value

anObject

Specifies the String object whose character length is to be checked.

stringLength (attribute: PIC S9(9) COMP-5)

Returns character string length.