/*Reads the IMF Government Finance Statistics dataset CISER Data Archive Codebook GSP-006 Uses PROC datasource to select five variables related to public expenditures for Ireland, creates a dataset, and prints one of those time series. 12/2002*/ options ls=76; libname ssd 'U:\Users\netid' ; filename in1 'U:\ArchiveData\gsp\006\da8624.ebcdic' ; proc datasource filetype=imfgfsp infile=in1 out=ssd.irelexp; where country='178'; /*Ireland*/ keep g8h2a /*Expenditures: General public services*/ g8h2ac /*Public order */ g8h2b /*Defence */ g8h2c /*Education */ g8h2d /*Health */ g8h2e; /*Social security and welfare*/ run; proc print data=ssd.irelexp; var date country g8h2c; run;