The SASEFAME Interface Engine |
Example 36.14 Selecting String Case Series with the FAMEOUT= Option
This example shows how to extract string case series. In addition to the existing string case series in your Fame database, you can have formulas that resolve to string case series. SASEFAME resolves all formulas that belong to the class and type of series data object that you specify in your FAMEOUT= option. The following statements write all string case series to your SAS data set.
libname lib7 sasefame "%sysget(FAME_DATA)"
fameout=stringcase wildcard="?" ;
data cstrout;
set lib7.alltypes;
run;
title1 'Using FAMEOUT=STRINGCASE Option without Range';
title2 'ALLTYPES, FAMEOUT=STRINGCASE and Open Wildcard for String Case Series';
proc contents
data=cstrout;
run;
proc print
data=cstrout;
run;
Output 36.14.1 and Output 36.14.2 show the results.
Output 36.14.1
Contents of OUT=CSTROUT Using FAMEOUT=STRINGCASE and Open Wildcard for String Case Series
STR0 |
Char |
16 |
STR1 |
Char |
16 |
STR2 |
Char |
16 |
STRM |
Char |
16 |