processes the next record of the input list

processrecord(plistname,&done);