can someone please help me with this??? Example codes data test; input x $1; z=ifc(x='M','zero','one','missing'); datalines; M F M F ; run; data test1; input x $1; z=ifn(x='M',0,1,.); datalines; M F M F ; run; proc print data=test; run; proc print data=test1; run; Result:
... View more