PreviouswithLength Up

CharacterArray Method withLengthValue

Returns a new CharacterArray instance of length lnkSize and value lnkValue. Although lnkValue here is specified as PIC X, you can pass in a string of any length. Specify lnkSize in bytes.

Using Parameters
lnksize PIC S9(9) COMP-5
lnkvalue PIC X
Returning Parameter
lnkobject OBJECT