Using Tables from a Local or Network Drive

About Using Tables from a Local or Network Drive

If you have migrated or upgraded from a previous release of SAS Model Manager, the start-up code that enabled you to use tables from the local SAS Workspace Server or network drive is still available. In SAS Model Manager 14.2, you can no longer define a libref to use tables on a local or network drive. Also, in SAS Model Manager 14.2, tables must be registered in the SAS Metadata Repository and accessible in the Data category view. If the libref was defined before you migrated or upgraded, you can use the local or network tables to complete these SAS Model Manager tasks:
  • Create a project
  • Create projects from a control table
  • Specify project input and output variables
  • Create a scoring test
  • Create a model retrain definition
  • Create reports
  • Create a performance definition
The start-up code that was migrated can be viewed using the Edit Start-up Code window. You can access this window from the Actions menu on the toolbar in the Projects and Portfolios category views.
Edit Start-up Code Window
Here is an example LIBNAME statement:
libname SalesLib 's:\sales\2013\october';

Edit Start-Up Code

To edit the start-up code:
  1. Select Actionsthen selectEdit Start-up Code. The Edit Start-up Code window appears.
    Edit Start-up Code window
  2. Enter the SAS code.
  3. Click Run Now.
  4. Click the Log tab to see the SAS log.
  5. Click OK. The SAS code is saved in the Edit Start-up Code window.
    Note: If you save the code without running it by clicking OK, the code automatically runs the next time the middle-tier server starts.

Delete a Libref

To delete a libref:
  1. Select Actionsthen selectEdit Start-up Code
  2. Type libname libref clear.
  3. Click Run Now.
Last updated: June 12, 2017