08-04-2016 04:45 PM - edited 08-04-2016 09:57 PM
I executed the following SAS program (using The SASEFRED Interface Engine) to extract the data from FRED (St Louis Fed website)
title 'Retrieve Data for the Exports of Goods and Services';
libname _all_ clear; libname fred sasefred "%sysget(FRED)"
set fred.exportgs ;
proc contents data=export_gsa;
run; proc print data=export_gsa(obs=15); run
then I have the following error messages:
Error: Invalid physical name library name FRED
Error: Error in the LIBNAME statement.
Error: Libref FRED is not assigned.
How can I fix these problems?
08-04-2016 08:15 PM
In addition to @ballardw'd comment, check that the environment variable FRED is defined by adding:
%put FRED = &FRED;
to your program. By the look of it FRED is a directory where your XML mapping file is stored.