Category: | Variable Information |
data a; attrib x length=$3. transcode=no; attrib y length=$3. transcode=yes; x='abc'; y='xyz'; run; data _null_; dsid=open('work.a','i'); nobs=attrn(dsid,"nobs"); nvars=attrn(dsid,"nvars"); do i=1 to nobs; xrc=fetch(dsid,1); do j=1 to nvars; transcode = vartranscode(dsid,j); put transcode=; end; end; run;