This works for your presented data. If you have more complex scenario, please exhaust them in your post.
data have;
input ColumA$2.;
if length(ColumA)=1 and anydigit(ColumA)>0 then ColumA=cats('0',ColumA);
cards;
MV
ZX
5
12
;
Haikuo
2025 SAS Hackathon: There is still time!
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!