BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
hixsone
Fluorite | Level 6

How do you run start-up code the first time when creating a new forecast project?  My data source requires a LIBNAME statement to connect.  When I add the start and stop code and 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.

 

The only solution that have found so far is to create a project with a random data set, close and reopen it so the start-up code can actually run, and then rebuilding the project with the data I actually want to use.  Having my admin assign new libraries to the server config every time I have a new or modified data source is not a practical solution.

 

EM has a 'run now' capability that addresses this scenario making new data sources immediately available.

 

I am working in v9.4 M4 with all patches/hotfixes applied with FS v14.2

Thanks,

Eric

1 ACCEPTED SOLUTION

Accepted Solutions
jemayo
SAS Employee

Hi hixsone,

 

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 Smiley Happy )

 

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 SAS Forecast Studio Administrator's Guide (chapter 6 Creating and Configuring Libraries) for more info. 

 

This SAS Note has more information on troubleshooting libraries in SAS Forecast Studio: http://support.sas.com/kb/56/423.html.  

 

Hope this helps!

Jess Mayo

SAS Technical Support

View solution in original post

1 REPLY 1
jemayo
SAS Employee

Hi hixsone,

 

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 Smiley Happy )

 

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 SAS Forecast Studio Administrator's Guide (chapter 6 Creating and Configuring Libraries) for more info. 

 

This SAS Note has more information on troubleshooting libraries in SAS Forecast Studio: http://support.sas.com/kb/56/423.html.  

 

Hope this helps!

Jess Mayo

SAS Technical Support

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

Multiple Linear Regression in SAS

Learn how to run multiple linear regression models with and without interactions, presented by SAS user Alex Chaplin.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 757 views
  • 0 likes
  • 2 in conversation