The SASEFAME Interface Engine |
Example 36.11 Selecting Boolean Case Series with the FAMEOUT= Option
This example shows how to extract all Boolean case series from the ALLTYPES Fame data base. The following statements write all Boolean case series to the BOOOUT SAS data set.
title1 '***famallt: FAMEOUT Option, Different Type Values***';
options validvarname=any;
%let FAME=%sysget(FAME);
%put(&FAME);
%let FAMETEMP=%sysget(FAME_TEMP);
%put(&FAMETEMP);
libname lib4 sasefame "%sysget(FAME_DATA)"
fameout=boolcase wildcard="?" ;
data booout;
set lib4.alltypes;
run;
title1 'ALLTYPES FAMEOUT=BOOLCASE for Boolean Case Series';
title2 'Using FAMEOUT=CASE BOOLEAN Option without Range';
proc contents
data=booout;
run;
proc print
data=booout;
run;
Output 36.11.1 and Output 36.11.2 show the results for the Boolean case.
Output 36.11.1
Contents of OUT=BOOOUT Using FAMEOUT=BOOLCASE for Boolean Case Series
BOO0 |
Num |
8 |
BOO1 |
Num |
8 |
BOO2 |
Num |
8 |
BOOM |
Num |
8 |
BOO_RES |
Num |
8 |