Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
%macro fmt_setup(fds_nm = ,
out_nm = ,
fm_name = ,
f_label = ,
f_type = ,
f_value = );
*** SET THE DATA SET FOR THE PROC FORMAT STEP ***;
data &out_nm(keep=label start type fmtname );
set &fds_nm end = last;
length
label $40
start $40
type $4
fmtname $10
;
label = "&f_label";
start = &f_value;
type = "&f_type";
fmtname = "&fm_name";
if last then do;
output;
label = 'NO';
start = 'other';
type = "&f_type";
fmtname = "&fm_name";
output;
end;
else
output;
run;
proc format
cntlin = &out_nm;
run;
quit; *** USED FOR FORMAT ERROR ***;
%mend fmt_setup;