<?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 Running start-up code in Forecast Studio in SAS Forecasting and Econometrics</title>
    <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Running-start-up-code-in-Forecast-Studio/m-p/434960#M2990</link>
    <description>&lt;P&gt;How do you run start-up code the first time when creating a new forecast project?&amp;nbsp; My data source requires a LIBNAME statement to connect.&amp;nbsp; When I add the start and stop code and&amp;nbsp;advance to select the data set, my new library is not an option and FS will not let me save and close the project without completing all the set up processes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The only solution that have found so far is to create a project with a random data set, close and reopen it&amp;nbsp;so the start-up code can actually run, and then rebuilding the project with the data I actually want to use.&amp;nbsp; Having my admin assign new libraries to the server config every time I have a new or&amp;nbsp;modified data source is not a practical solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EM has a 'run now' capability that addresses this scenario making new data sources immediately available.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am working&amp;nbsp;in v9.4 M4 with all patches/hotfixes applied&amp;nbsp;with FS v14.2&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Eric&lt;/P&gt;</description>
    <pubDate>Wed, 07 Feb 2018 17:21:32 GMT</pubDate>
    <dc:creator>hixsone</dc:creator>
    <dc:date>2018-02-07T17:21:32Z</dc:date>
    <item>
      <title>Running start-up code in Forecast Studio</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Running-start-up-code-in-Forecast-Studio/m-p/434960#M2990</link>
      <description>&lt;P&gt;How do you run start-up code the first time when creating a new forecast project?&amp;nbsp; My data source requires a LIBNAME statement to connect.&amp;nbsp; When I add the start and stop code and&amp;nbsp;advance to select the data set, my new library is not an option and FS will not let me save and close the project without completing all the set up processes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The only solution that have found so far is to create a project with a random data set, close and reopen it&amp;nbsp;so the start-up code can actually run, and then rebuilding the project with the data I actually want to use.&amp;nbsp; Having my admin assign new libraries to the server config every time I have a new or&amp;nbsp;modified data source is not a practical solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EM has a 'run now' capability that addresses this scenario making new data sources immediately available.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am working&amp;nbsp;in v9.4 M4 with all patches/hotfixes applied&amp;nbsp;with FS v14.2&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Eric&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2018 17:21:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Running-start-up-code-in-Forecast-Studio/m-p/434960#M2990</guid>
      <dc:creator>hixsone</dc:creator>
      <dc:date>2018-02-07T17:21:32Z</dc:date>
    </item>
    <item>
      <title>Re: Running start-up code in Forecast Studio</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Running-start-up-code-in-Forecast-Studio/m-p/436235#M2996</link>
      <description>&lt;P&gt;Hi hixsone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unfortunately SAS Forecast Studio doesn't have a way to run project start code immediately like SAS Enterprise Miner does. (Though that would be nice &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt; )&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It also is not recommended to use project start-up code to specify the input libraries for a project. This is because the Workspace Server connection has already been made, so the timing of this library assignment is not appropriate for the input data. However, the easiest way to access new or modified data without having to register the tables is by creating what is called an "Automatic environment library". This has to be configured for use just one time in SAS Management Console. It will act similarly to Enterprise Miner's project start code, and assigns the libraries behind the scenes. Check out the &lt;A href="http://support.sas.com/documentation/onlinedoc/forecast/14.2/fsag.pdf" target="_self"&gt;SAS Forecast Studio Administrator's Guide&lt;/A&gt;&amp;nbsp;(chapter 6 Creating and Configuring Libraries) for more info.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This SAS Note has more information on troubleshooting libraries in SAS Forecast Studio: &lt;A href="http://support.sas.com/kb/56/423.html" target="_self"&gt;http://support.sas.com/kb/56/423.html&lt;/A&gt;.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps!&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Jess Mayo&lt;/P&gt;
&lt;P&gt;SAS Technical Support&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2018 14:35:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Running-start-up-code-in-Forecast-Studio/m-p/436235#M2996</guid>
      <dc:creator>jemayo</dc:creator>
      <dc:date>2018-02-12T14:35:43Z</dc:date>
    </item>
  </channel>
</rss>

