proc format; invalue tryit 1-10 = _same_ other = _error_; run; Data _null_; infile datalines; input Value tryit.; put Value=; datalines; 5 15 run;