Selecting Numeric Case Series with the FAMEOUT= Option

/*----------------------------------------------------------------

                   SAS Sample Library

        Name: famex12.sas
 Description: Example program from SAS/ETS User's Guide,
              The SASEFAME Interface Engine
   Title: Selecting Numeric Case Series with the FAMEOUT= Option
 Product: SAS/ETS Software
    Keys: FAME data extraction, FAMEOUT= case option
   Procs: SASEFAME
   Notes: Read this before you run this sample.
        The database resides in the ets/sasmisc folder. You
        must copy the database to a writeable folder before
        using it. Then define your Windows system environment
        variable, FAME_DATA, to the path of your
        writeable folder containing
        the alltypes.db file (FAME database).
        To assign a fileref to the external file to be processed,
        use the following form of the libname statement:

libname lib5 sasefame "%sysget(FAME_DATA)"
   fameout=case wildcard="?" ;
----------------------------------------------------------------*/
title1 '***famallt: FAMEOUT Option, Different Type Values***';
options validvarname=any;

%let FAME=%sysget(FAME);
%put(&FAME);
%let FAMETEMP=%sysget(FAME_TEMP);
%put(&FAMETEMP);

libname lib5 sasefame "%sysget(FAME_DATA)"
   fameout=case wildcard="?" ;

data csout;
   set lib5.alltypes;
run;

title1 'Using FAMEOUT=CASE Option without Range';
title2 'ALLTYPES, FAMEOUT=CASE and Open Wildcard for Numeric Case Series';
proc contents
   data=csout;
run;

proc print
   data=csout;
run;