<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: SASEFRED use (possible)? in SAS Forecasting and Econometrics</title>
    <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/SASEFRED-use-possible/m-p/648410#M3838</link>
    <description>Thanks Vince, it worked now.</description>
    <pubDate>Sun, 17 May 2020 16:20:33 GMT</pubDate>
    <dc:creator>ubshams</dc:creator>
    <dc:date>2020-05-17T16:20:33Z</dc:date>
    <item>
      <title>SASEFRED use (possible)?</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/SASEFRED-use-possible/m-p/648326#M3836</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; I am trying to use the FRED database using SAS Studio (University Edition) at home. Is that even possible? I am reading this documentation, is this even relevant anymore?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/?docsetId=etsug&amp;amp;docsetTarget=etsug_sasefred_gettingstarted.htm&amp;amp;docsetVersion=15.1&amp;amp;locale=en"&gt;https://documentation.sas.com/?docsetId=etsug&amp;amp;docsetTarget=etsug_sasefred_gettingstarted.htm&amp;amp;docsetVersion=15.1&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt; I am confused about this part:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;The specification shown as SSLCALISTLOC= "/SASSecurityCertificateFramework/1.1/cacerts/trustedcerts.pem" is for demonstration purposes only. Specify your own location of your trusted certificates inside the double quotes.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;My code so far:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;options validvarname= any&lt;BR /&gt;sslcalistloc="/SASSecurityCertificateFramework/1.1/cacerts/trustedcerts.pem";&lt;/P&gt;
&lt;P&gt;title 'Retrieve Data for the Exports of Goods and Services';&lt;BR /&gt;libname _all_ clear;&lt;/P&gt;
&lt;P&gt;libname fred sasefred "%sysget(FRED)"&lt;BR /&gt;OUTXML = exportgs&lt;BR /&gt;XMLMAP = "%sysget(FRED)exortsgs.map"&lt;BR /&gt;APIKEY = '527539c8dd5495d3c3c9aff99ecdd96a'&lt;BR /&gt;IDLIST = 'EXPGS';&lt;BR /&gt;&lt;BR /&gt;data exort_gsa;&lt;BR /&gt;set fred.exportgs;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;proc contents data = export_gsa;&lt;BR /&gt;set fred.exportgs;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;proc contents data=export_gsa;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;proc print data = export_gsa(obs_15);&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;--------------LIST OF ERRORS----------&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV class="sasSource"&gt;1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/DIV&gt;
&lt;DIV id="sasLogNote1_1589651514762" class="sasNote"&gt;NOTE: ODS statements in the SAS Studio environment may disable some output features.&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV class="sasSource"&gt;73&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;74 options validvarname= any&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;75 sslcalistloc="/SASSecurityCertificateFramework/1.1/cacerts/trustedcerts.pem";&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;76&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;77 title 'Retrieve Data for the Exports of Goods and Services';&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;78 libname _all_ clear;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;79&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;80 libname fred&lt;/DIV&gt;
&lt;DIV id="sasLogWarning1_1589651514762" class="sasWarning"&gt;WARNING: The argument to macro function %SYSGET is not defined as a system variable.&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;80 ! sasefred "%sysget(FRED)"&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;81 OUTXML = exportgs&lt;/DIV&gt;
&lt;DIV id="sasLogWarning2_1589651514762" class="sasWarning"&gt;WARNING: The argument to macro function %SYSGET is not defined as a system variable.&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;82 XMLMAP = "%sysget(FRED)exortsgs.map"&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;83 APIKEY = '527539c8dd5495d3c3c9aff99ecdd96a'&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;84 IDLIST = 'EXPGS';&lt;/DIV&gt;
&lt;DIV id="sasLogError1_1589651514762" class="sasError"&gt;ERROR: Invalid physical name for library FRED.&lt;/DIV&gt;
&lt;DIV id="sasLogError2_1589651514762" class="sasError"&gt;ERROR: Error in the LIBNAME statement.&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;85&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;86 data exort_gsa;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;87 set fred.exportgs;&lt;/DIV&gt;
&lt;DIV id="sasLogError3_1589651514762" class="sasError"&gt;ERROR: Libref FRED is not assigned.&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;88 run;&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="sasLogNote2_1589651514762" class="sasNote"&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/DIV&gt;
&lt;DIV id="sasLogWarning3_1589651514762" class="sasWarning"&gt;WARNING: The data set WORK.EXORT_GSA may be incomplete. When this step was stopped there were 0 observations and 0 variables.&lt;/DIV&gt;
&lt;DIV id="sasLogWarning4_1589651514762" class="sasWarning"&gt;WARNING: Data set WORK.EXORT_GSA was not replaced because this step was stopped.&lt;/DIV&gt;
&lt;DIV id="sasLogNote3_1589651514762" class="sasNote"&gt;NOTE: DATA statement used (Total process time):&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;real time 0.00 seconds&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;cpu time 0.00 seconds&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;89&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;90 proc contents data = export_gsa;&lt;/DIV&gt;
&lt;DIV id="sasLogError4_1589651514762" class="sasError"&gt;ERROR: File WORK.EXPORT_GSA.DATA does not exist.&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;91 set fred.exportgs;&lt;/DIV&gt;
&lt;DIV class="sasError"&gt;___&lt;/DIV&gt;
&lt;DIV class="sasError"&gt;180&lt;/DIV&gt;
&lt;DIV id="sasLogError5_1589651514762" class="sasError"&gt;ERROR 180-322: Statement is not valid or it is used out of proper order.&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;92 run;&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="sasLogNote4_1589651514762" class="sasNote"&gt;NOTE: Statements not processed because of errors noted above.&lt;/DIV&gt;
&lt;DIV id="sasLogNote5_1589651514762" class="sasNote"&gt;NOTE: PROCEDURE CONTENTS used (Total process time):&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;real time 0.00 seconds&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;cpu time 0.00 seconds&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="sasLogNote6_1589651514762" class="sasNote"&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;93&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;94 proc contents data=export_gsa;&lt;/DIV&gt;
&lt;DIV id="sasLogError6_1589651514762" class="sasError"&gt;ERROR: File WORK.EXPORT_GSA.DATA does not exist.&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;95 run;&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="sasLogNote7_1589651514762" class="sasNote"&gt;NOTE: Statements not processed because of errors noted above.&lt;/DIV&gt;
&lt;DIV id="sasLogNote8_1589651514762" class="sasNote"&gt;NOTE: PROCEDURE CONTENTS used (Total process time):&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;real time 0.00 seconds&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;cpu time 0.00 seconds&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="sasLogNote9_1589651514762" class="sasNote"&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;96&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;97 proc print data = export_gsa(obs_15);&lt;/DIV&gt;
&lt;DIV class="sasError"&gt;______&lt;/DIV&gt;
&lt;DIV class="sasError"&gt;22&lt;/DIV&gt;
&lt;DIV id="sasLogError7_1589651514762" class="sasError"&gt;ERROR: File WORK.EXPORT_GSA.DATA does not exist.&lt;/DIV&gt;
&lt;DIV id="sasLogError8_1589651514762" class="sasError"&gt;ERROR 22-7: Invalid option name OBS_15.&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;98 run;&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="sasLogNote10_1589651514762" class="sasNote"&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/DIV&gt;
&lt;DIV id="sasLogNote11_1589651514762" class="sasNote"&gt;NOTE: PROCEDURE PRINT used (Total process time):&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;real time 0.00 seconds&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;cpu time 0.00 seconds&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;99&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;100 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;112&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;PRE id="pre_sasLog_8" class="sasLog" style="background-color: transparent; -webkit-user-select: text; -webkit-user-modify: read-only; -webkit-touch-callout: default; border-top-width: 0px; border-bottom-width: 0px;"&gt;&amp;nbsp;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 May 2020 17:57:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/SASEFRED-use-possible/m-p/648326#M3836</guid>
      <dc:creator>ubshams</dc:creator>
      <dc:date>2020-05-16T17:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: SASEFRED use (possible)?</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/SASEFRED-use-possible/m-p/648350#M3837</link>
      <description>&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;I have not used this but have some suggestions.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;This documentation states that you should not specify the SSLCALISTLOC option:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;&lt;STRONG&gt;CAUTION&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="verdana,geneva"&gt;&lt;STRONG&gt;Do not change the SSLCALISTLOC= system option.&lt;/STRONG&gt;&amp;nbsp; Starting SAS 9.4M3, the SSLCALISTLOC= system option should not be overridden or changed unless directed by technical support or PSD.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;&lt;A href="https://go.documentation.sas.com/?docsetId=secref&amp;amp;docsetTarget=p0pul4j64w0mg0n1h1k6z8zhfvaf.htm&amp;amp;docsetVersion=9.4"&gt;https://go.documentation.sas.com/?docsetId=secref&amp;amp;docsetTarget=p0pul4j64w0mg0n1h1k6z8zhfvaf.htm&amp;amp;docsetVersion=9.4&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The LIBNAME statement is in error because the FRED enviroment variable is not defined, causing the path specified to be invalid. You might be able to specify any valid path in the LIBNAME statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example, in SAS University Edition I have a mapped folder &lt;STRONG&gt;My Folders &amp;gt; Data&lt;/STRONG&gt; referring to the &lt;FONT face="courier new,courier"&gt;/folders/myfolders/Data&lt;/FONT&gt; location (view the properties of the folder to see the location).&amp;nbsp; This LIBNAME statement should work if you specify the correct location for the PATH variable and your API key:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options validvarname=any;

%let PATH=/folders/myfolders/Data;

libname fred sasefred "&amp;amp;PATH"
  OUTXML=exportgs
  XMLMAP="&amp;amp;PATH/exportgs.map"
  APIKEY='XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
  IDLIST='bopxgsa';
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After you get the LIBNAME statement working, then try submitting the DATA step code to read the data:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data work.export_gsa;
set fred.exportgs ;
run; &lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Vince DelGobbo&lt;/P&gt;
&lt;P&gt;SAS R&amp;amp;D&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 17 May 2020 01:05:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/SASEFRED-use-possible/m-p/648350#M3837</guid>
      <dc:creator>Vince_SAS</dc:creator>
      <dc:date>2020-05-17T01:05:25Z</dc:date>
    </item>
    <item>
      <title>Re: SASEFRED use (possible)?</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/SASEFRED-use-possible/m-p/648410#M3838</link>
      <description>Thanks Vince, it worked now.</description>
      <pubDate>Sun, 17 May 2020 16:20:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/SASEFRED-use-possible/m-p/648410#M3838</guid>
      <dc:creator>ubshams</dc:creator>
      <dc:date>2020-05-17T16:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: SASEFRED use (possible)?</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/SASEFRED-use-possible/m-p/664782#M3868</link>
      <description>&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;Related information:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;&lt;A href="https://blogs.sas.com/content/sgf/2020/06/17/how-to-access-federal-reserve-economic-data-fred-with-sasefred-in-sas-ets-software/" target="_blank"&gt;https://blogs.sas.com/content/sgf/2020/06/17/how-to-access-federal-reserve-economic-data-fred-with-sasefred-in-sas-ets-software/&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;Vince DelGobbo&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;SAS R&amp;amp;D&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jun 2020 20:48:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/SASEFRED-use-possible/m-p/664782#M3868</guid>
      <dc:creator>Vince_SAS</dc:creator>
      <dc:date>2020-06-24T20:48:44Z</dc:date>
    </item>
  </channel>
</rss>

