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

5.6.4 GET-STRING-N method (object method)

Explanation

This method fetches the character string from the String object as a national data item.

Syntax

INVOKE anObject "GET-STRING-N" RETURNING stringValue

Parameter and return value

anObject

Specifies the String object from which a character string is to be fetched.

stringValue (attribute: PIC N ANY LENGTH)

Returns the character string fetched from the String object. If the specified data item is shorter than the fetched character string, it is truncated. If the specified data item is longer than the fetched character string, the trailing area is padded with blanks.