Learning SAS? Welcome to the exclusive online community for all SAS learners.

Library PORTER does not exit

Accepted Solution Solved
Reply
Occasional Contributor
Posts: 6
Accepted Solution

Library PORTER does not exit

I am new to SAS and try to create and post to a library PORTER......but got error message - Library PORTER does not exist.....below is my code.........please help


libname pointer 'c:\Research\Peter_Obi\sas_datasets';

* Verify description of file;
proc contents data=pointer.peter_dsi_2015_2016; * 504 obs and 11 vars;
run;

data temp;
set pointer.peter_dsi_2015_2016;
vwretd_lag1 = lag1(vwretd);
vwretd_lag2 = lag2(vwretd);
proc contents data=temp; * 504 obs and 13 vars;
run;


Accepted Solutions
Solution
‎02-25-2017 07:45 PM
Super User
Posts: 19,858

Re: Library PORTER does not exit

FOLLOW INSTRUCTIONS EXACTLY. 

 

You still used used the wrong slash and included C. This is the method of referencing files in Windows, but SAS UE is running on Unix. You need to use Unix paths. 

 

Start with the basics, place your files in the myfolders you created at installation. 

 

Libname reeza '/folders/myfolders/';

 

Then you should be able to see your SAS files. 

 

View solution in original post


All Replies
Super User
Posts: 19,858

Re: Library PORTER does not exit

Are you using SAS UE? If so, see the Analytics U forum for answers to this question or watch one of the tutorial videos. 

 

Support.sas.com/training/tutorial

 

Occasional Contributor
Posts: 6

Re: Library PORTER does not exit

thanks for the quick response...........I am using UE, but do not know where the  Analytic U forum......could please point me to it

thanks again

Occasional Contributor
Posts: 6

Re: Library PORTER does not exit

Or if you are available to help, I am willing to pay for your time..........thanks again

Super User
Posts: 3,260

Re: Library PORTER does not exit

[ Edited ]

In Find a Community, expand Learn SAS and choose SAS Analytics U:

 

https://communities.sas.com/t5/SAS-Analytics-U/bd-p/sas_analytics_u

 

 

 

 

Super User
Posts: 19,858

Re: Library PORTER does not exit

1. Place file in shared folder you created at installation. You can create sub folders underneath if you'd like. 

2. Reference it as '/folders/myfolders/SUBFOLDER'; Note that it's case sensitive. 

 

The rest of your code appears correct.

 

Occasional Contributor
Posts: 6

Re: Library PORTER does not exit

Thanks for the response....I changed the path as you suggested, but got same got same error message.......I will appreciate any further suggetions............thanks

 

ERROR: File POINTER.PETER_DSI_2015_2016.DATA does not exist.

 

see detail error below.............

 

Program: peter_prior_market_return
65
66 */
67
68 libname pointer 'c:\folders\myfolders\SUBFOLDERS\sas_datasets';
NOTE: Library POINTER does not exist.
69
70 * Verify description of file;
71 proc contents data=pointer.peter_dsi_2015_2016; * 504 obs and 11 vars;
ERROR: File POINTER.PETER_DSI_2015_2016.DATA does not exist.
 

 

Solution
‎02-25-2017 07:45 PM
Super User
Posts: 19,858

Re: Library PORTER does not exit

FOLLOW INSTRUCTIONS EXACTLY. 

 

You still used used the wrong slash and included C. This is the method of referencing files in Windows, but SAS UE is running on Unix. You need to use Unix paths. 

 

Start with the basics, place your files in the myfolders you created at installation. 

 

Libname reeza '/folders/myfolders/';

 

Then you should be able to see your SAS files. 

 

Occasional Contributor
Posts: 6

Re: Library PORTER does not exit

It worked......thank you
☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 8 replies
  • 309 views
  • 1 like
  • 3 in conversation