A generalization of a theorem of datko and pazy