art photo

DSDR KB

Q:  

I am having trouble opening an IMF government finance statistics data file.

A:  

PROC DATASOURCE from SAS is able to read this file.

For certain time series databases, the DATASOURCE procedure has built-in information on the layout of files comprising the database. PROC DATASOURCE knows how to read only these kinds of data files. To access these databases, you must indicate the data file type in the FILETYPE= option. For more detailed information, you should refer to the PROC DATASOURCE (SAS/ETS) documentation.

" INITIALIZE FILENAME REFERENCE FOR IMF FILE;
filename imffil "file-specification" ;
*USE PROC DATASOURCE TO GENERATE SAS DATASET FROM IMF FILE;
proc datasource;
ebcdic;
filetip = imfdotsp;
infile = imf
file;
out = &IMF_SET;
run;

Annotated Resources:

Direct Links:

Related Question Groups:


W A R N I N G

If you are reading this, it may be that you are using rather old web browsing software that does not support modern international Web technology standards. For a better experience of the Web and this site in particular, please upgrade your web browser software. The following are good choices:

Firefox
Opera
Safari