The vvalue Function--Like a Quick PUT Function

Monday, 25 April, 2011

⨳ 1 minute read ⨳ 50 words ⨳ sastip

for example…

data temp;
    format d yyq6.;
    d='19Apr2011'd;
    x=vvalue(d);
run;
proc print; run;
proc contents; run;

from the output window

Obs         d      x
1     2011Q2    2011Q2

#    Variable    Type    Len    Format
1    d           Num       8    YYQ6.
2    x           Char    200

The vvalue Function--Like a Quick PUT Function - April 25, 2011 - Richard Koopmann