not the last record, so it contains three characters
if(!lastrecord)
*plength = *plength + 3;