<?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: SAS On Demand for Academics in SAS Software for Learning Community</title>
    <link>https://communities.sas.com/t5/SAS-Software-for-Learning/SASEFRED-SAS-On-Demand-for-Academics/m-p/882012#M1306</link>
    <description>&lt;P&gt;I'll try using SASEFRED on the SAS 9.4 installed on my laptop.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 22 Jun 2023 19:22:05 GMT</pubDate>
    <dc:creator>PaulN</dc:creator>
    <dc:date>2023-06-22T19:22:05Z</dc:date>
    <item>
      <title>SASEFRED: SAS On Demand for Academics</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/SASEFRED-SAS-On-Demand-for-Academics/m-p/881783#M1301</link>
      <description>&lt;P&gt;I am attempting to use SASEFRED to access the FRED database.&amp;nbsp; I have been going through the examples in the SAS documentation, and I'm having issues. I have my APIKEY from FRED.&amp;nbsp; Below is my code that I modified from an example located at:&amp;nbsp;&lt;A href="http://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/etsug/etsug_sasefred_details11.htm" target="_blank"&gt;http://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/etsug/etsug_sasefred_details11.htm&lt;/A&gt;&amp;nbsp;.&amp;nbsp; I am using SAS on Demand for Academics.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here are my questions/comments:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;I do not understand sslcalistloc.&amp;nbsp; &amp;nbsp;I do not know what to do with it or what it does.&amp;nbsp; I do not know where to look for certificates.&amp;nbsp; Any explanation is appreciated.&amp;nbsp; I do not know what to enter after sslcalistloc.&amp;nbsp; I have read the product documentation and still don't understand.&lt;/LI&gt;
&lt;LI&gt;Why does the SAS data set fred.gstart have zero (0) observations?&lt;/LI&gt;
&lt;LI&gt;The FRED library is successfully created but I get the spinny wheel of death when I click on it.&amp;nbsp; See screenshot below.&amp;nbsp; The wheel doesn't stop spinning.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options validvarname=any

/* sslcalistloc="/SASSecurityCertificateFramework/1.1/cacerts/trustedcerts.pem"; */
title 'FRED Data: SP500 Stock Index and Wilshire 5000 Price Index';
LIBNAME FRED sasefred "/home/u49890908/FRED" 
		OUTXML=gstart 
		AUTOMAP=replace 
		MAPREF=FRED 
		XMLMAP="/home/u49890908/FRED/gstart.map" 
		APIKEY='FAKEAPIKEY0123456789012346579801' 
		IDLIST='sp500,will5000pr' 
		START='2011-01-01' 
		END='2012-01-01' 
		FREQ='m' 
		FORMAT=xml;

data stock_price;
	set FRED.gstart;
run;

proc contents data=stock_price;
run;

proc print data=stock_price;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Here's my log.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
 1          OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 72         
 73         options validvarname=any
 74         
 75         /* sslcalistloc="/SASSecurityCertificateFramework/1.1/cacerts/trustedcerts.pem" */;
 76         title 'FRED Data: SP500 Stock Index and Wilshire 5000 Price Index';
 77         LIBNAME FRED sasefred "/home/u49890908/FRED"
 78         OUTXML=gstart
 79         AUTOMAP=replace
 80         MAPREF=FRED
 81         XMLMAP="/home/u49890908/FRED/gstart.map"
 82         APIKEY='FAKEAPIKEY0123456789012346579801'
 83         IDLIST='sp500,will5000pr'
 84         START='2011-01-01'
 85         END='2012-01-01'
 86         FREQ='m'
 87         FORMAT=xml;
 NOTE: The default frequency of this timeseries (SP500) is equal or higher than the requested FREQ (m).
 NOTE: Ran the FILENAME URL assignment to request FRED data.
 NOTE: Ran the DATA Step to get the FRED data for the OUTXML= option.
 NOTE: Ran the XMLV2 data engine with the XMLMAP= option.
 NOTE: The default frequency of this timeseries ( WILL5000PR) is equal or higher than the requested FREQ (m).
 NOTE: Ran the FILENAME URL assignment to request FRED data.
 NOTE: Ran the DATA Step to get the FRED data for the OUTXML= option.
 NOTE: Ran the XMLV2 data engine with the XMLMAP= option.
 NOTE: Libref FRED was successfully assigned as follows: 
       Engine:        SASEFRED 
       Physical Name: /home/u49890908/FRED
 88         
 89         data stock_price;
 90         set FRED.gstart;
 NOTE: Ran the data step to access and save the FRED data.
 ERROR: Database /home/u49890908/FRED/GSTART.sas7bdat could not be opened successfully. The file may not exist or it is currently 
        locked.
 ERROR: Error detected by XOINFO routine: discrepancy in nvars or nobs count.
 91         run;
 
 NOTE: The SAS System stopped processing this step because of errors.
 WARNING: The data set WORK.STOCK_PRICE may be incomplete.  When this step was stopped there were 0 observations and 0 variables.
 WARNING: Data set WORK.STOCK_PRICE was not replaced because this step was stopped.
 NOTE: DATA statement used (Total process time):
       real time           0.23 seconds
       user cpu time       0.12 seconds
       system cpu time     0.01 seconds
       memory              1638.46k
       OS Memory           36276.00k
       Timestamp           06/21/2023 07:06:49 PM
       Step Count                        167  Switch Count  48
       Page Faults                       0
       Page Reclaims                     1119
       Page Swaps                        0
       Voluntary Context Switches        636
       Involuntary Context Switches      0
       Block Input Operations            1472
       Block Output Operations           1688
       
 
 92         
 93         proc contents data=stock_price;
 94         run;
 
 NOTE: PROCEDURE CONTENTS used (Total process time):
       real time           0.03 seconds
       user cpu time       0.04 seconds
       system cpu time     0.00 seconds
       memory              775.50k
       OS Memory           35756.00k
       Timestamp           06/21/2023 07:06:49 PM
       Step Count                        168  Switch Count  0
       Page Faults                       0
       Page Reclaims                     59
       Page Swaps                        0
       Voluntary Context Switches        0
       Involuntary Context Switches      0
       Block Input Operations            0
       Block Output Operations           8
       
 
 95         
 96         proc print data=stock_price;
 97         run;
 
 NOTE: No variables in data set WORK.STOCK_PRICE.
 NOTE: PROCEDURE PRINT used (Total process time):
       real time           0.00 seconds
       user cpu time       0.00 seconds
       system cpu time     0.00 seconds
       memory              364.37k
       OS Memory           35496.00k
       Timestamp           06/21/2023 07:06:49 PM
       Step Count                        169  Switch Count  0
       Page Faults                       0
       Page Reclaims                     16
       Page Swaps                        0
       Voluntary Context Switches        0
       Involuntary Context Switches      0
       Block Input Operations            0
       Block Output Operations           0
       
 
 98         
 99         OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 111      &lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PaulN_0-1687375378530.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/85206i35B4458BBD278709/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PaulN_0-1687375378530.png" alt="PaulN_0-1687375378530.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PaulN_1-1687375398173.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/85207i09E940D2951D318F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PaulN_1-1687375398173.png" alt="PaulN_1-1687375398173.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PaulN_2-1687375622441.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/85216i44D1295DA562AD21/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PaulN_2-1687375622441.png" alt="PaulN_2-1687375622441.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2023 19:27:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/SASEFRED-SAS-On-Demand-for-Academics/m-p/881783#M1301</guid>
      <dc:creator>PaulN</dc:creator>
      <dc:date>2023-06-21T19:27:23Z</dc:date>
    </item>
    <item>
      <title>Re: SASEFRED: SAS On Demand for Academics</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/SASEFRED-SAS-On-Demand-for-Academics/m-p/881884#M1302</link>
      <description>I don't think you can access ANY external database using SAS OnDemand for Academics.  Any data you would like to use needs to be uploaded to your Files(Home) or a sub-folder under Files(Home).</description>
      <pubDate>Thu, 22 Jun 2023 12:17:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/SASEFRED-SAS-On-Demand-for-Academics/m-p/881884#M1302</guid>
      <dc:creator>tom_grant</dc:creator>
      <dc:date>2023-06-22T12:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: SASEFRED: SAS On Demand for Academics</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/SASEFRED-SAS-On-Demand-for-Academics/m-p/881903#M1303</link>
      <description>&lt;P&gt;Hi Paul,&lt;/P&gt;
&lt;P&gt;I think you are referring to this engine in SAS/ETS:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/etsug/etsug_sasefred_gettingstarted.htm" target="_blank"&gt;SAS Help Center: Getting Started: SASEFRED Interface Engine&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;While SAS OnDemand for Academics does include access to the ETS procedures, it does not include access to this SASEFRED engine.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If interested, you could contact SAS technical support to find out other ways you can access this engine:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.sas.com/en_us/contact/technical-support.html" target="_blank"&gt;Technical Support | SAS&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2023 13:34:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/SASEFRED-SAS-On-Demand-for-Academics/m-p/881903#M1303</guid>
      <dc:creator>JackieJ_SAS</dc:creator>
      <dc:date>2023-06-22T13:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: SASEFRED: SAS On Demand for Academics</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/SASEFRED-SAS-On-Demand-for-Academics/m-p/882012#M1306</link>
      <description>&lt;P&gt;I'll try using SASEFRED on the SAS 9.4 installed on my laptop.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2023 19:22:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/SASEFRED-SAS-On-Demand-for-Academics/m-p/882012#M1306</guid>
      <dc:creator>PaulN</dc:creator>
      <dc:date>2023-06-22T19:22:05Z</dc:date>
    </item>
  </channel>
</rss>

