Bad record length

Error 59


The length of a record variable for a GetLANGET or PutLANPUT statement does not match the length specified in the corresponding Open103I7PS statement.  Because a two-byte descriptor is always added to a variable-length string Put to a random access file, the variable-length string must be at least two characters shorter than the record length specified in the Len clause of the Open statement. Variant2ZCGYKB data types also require a two-byte descriptor.  Variants containing variable-length strings require a four-byte descriptor.