ensure job name is within required length.