For Article Click Here and Here
For Article Click Here and Here
Using RTF codes in ODS RTF outputsEnhancing RTF Output with RTF Control Words and In-Line Formatting
Interviewing and Accessing SAS Programmers
data one;input id $;/* create formatting to preserve leading zeros in excel */cid  =  ‘ = ” ’  ||  id  ||  ‘ ” ’;cards;00123123980123400034;run;data one (drop=id);      set one;run;ods listing clo…
*** Create transport file;libname source “/home/kwxxx/requests/xxxdata”;libname tran xport “/home/kwxx/requests/xxxdata/transport/xxxdata.xpt”;proc copy in=source out=tran memtype=data;run;*** Read in transport file;libname library ‘c:\kwxxx’;libna…
data _null_;      do i=0 to 255;            x=byte(i);            put i= x=;      end;      y=rank(‘a’);      put y=;run;BYTE function results:i=65 — 90 x=…
LAG Function (SAS 9.2 Doc)*** Use a third variable to assign the value from the previous record;array one a b c d;array two e f g h;      do over one;            temp = lag(one);            if…
Create delta in the report and label:ods escapechar=’^’;ods rtf file=’temp.rtf’; *** Can be HTML or PDF too;proc report data=sashelp.class nowd ps=40;       col age new;       define new / format=$30. ;/* for the RTF */  &n…