The SASEFAME Interface Engine |
Example 36.13 Selecting Date Case Series with the FAMEOUT= Option
This example shows how to extract date case series. In addition to the existing date case series in your Fame database, you can have formulas that resolve to date 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 date case series to your SAS data set.
libname lib6 sasefame "%sysget(FAME_DATA)"
fameout=datecase wildcard="?" ;
data cdout;
set lib6.alltypes;
run;
title1 'Using FAMEOUT=DATECASE Option without Range';
title2 'ALLTYPES: FAMEOUT=DATECASE and Open Wildcard for Date Case Series';
proc contents
data=cdout;
run;
proc print
data=cdout;
run;
Output 36.13.1 and Output 36.13.2 show the results.
Output 36.13.1
Contents of OUT=CDOUT Using FAMEOUT=DATECASE
DAT0 |
Num |
8 |
YEAR4. |
4. |
DAT1 |
Num |
8 |
YEAR4. |
4. |
DAT2 |
Num |
8 |
YEAR4. |
4. |
DATM |
Num |
8 |
YEAR4. |
4. |
FRM2 |
Num |
8 |
YEAR4. |
4. |