Chapter Contents |
Previous |
Next |
The SASEFAME Interface Engine |
Use the FAME wildcard option to limit the number of series converted. For example, suppose you want to read only series starting with "WSPCA". You could use the following code:
libname lib1 sasefame '/mine/data/econ_fame/sampdir' wildcard="wspca?" convert=(technique=constant freq=twicemonthly ); libname lib2 '/mine/data/econ_sas/sampdir'; data lib2.twild(label='Annual Series from the FAMEECON.db'); set lib1.subecon; /* keep only */ keep date wspca; run; proc contents data=lib2.twild; run; proc print data=lib2.twild; run;
The wildcard="wspca?" option limits reading only those series whose names begin with WSPCA. The SAS KEEP statement further restricts the SAS data set to include only the series named WSPCA and the DATE variable. The time interval used for the conversion is TWICEMONTHLY.
Chapter Contents |
Previous |
Next |
Top |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.