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

How do you create a permanent sas dataset in studio?

Reply
New Contributor
Posts: 4

How do you create a permanent sas dataset in studio?


I would like to create a permanent sas dataset with libname. But I get the following error message

1          OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;

57        

58         LIBNAME QDATA "folders/myfolders/sasuser.v94/mystuff/";

NOTE: Library QDATA does not exist.

58       !                                                        RUN;

59        

60         OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;

Here's the code I'm using;

LIBNAME TEST "folders/myfolders/sasuser.v94/mystuff/";RUN;

PROC IMPORT DATAFILE ="/folders/myfolders/sasuser.v94/mystuff/OBESITY AND CHD.xls"

     OUT=WORK.CHD

     DBMS=XLS

     REPLACE;

RUN;

PROC PRINT DATA=WORK.CHD; RUN;
DATA TEST.CHD; SET CHD;RUN;

Community Manager
Posts: 552

Re: How do you create a permanent sas dataset in studio?

Hi Eric, here's a thread that you may find helpful. If it is, let us know by marking your question as "answered." If you try what's suggested and you still have trouble, contact Tech Support.

Super User
Posts: 10,483

Re: How do you create a permanent sas dataset in studio?

LIBNAME TEST "folders/myfolders/sasuser.v94/mystuff/";RUN;

PROC IMPORT DATAFILE ="/folders/myfolders/sasuser.v94/mystuff/OBESITY AND CHD.xls"

notice something different between those two paths?

Ask a Question
Discussion stats
  • 2 replies
  • 561 views
  • 0 likes
  • 3 in conversation