Write and run SAS programs in your web browser

Proc Append 'Libref X not assigned' error

Reply
Occasional Contributor
Posts: 15

Proc Append 'Libref X not assigned' error

Hi, I'm attempting to run Proc Append for the first time.  I'm running into an error.  Would you be able to help?

 

The SAS database I'm trying to append to is located in 'myfolders' (within the SASUniversityEdition folder); the file is mailer_database.sas7bdat

 

Syntax: 

PROC APPEND BASE=dm.MAILER_DATABASE DATA=ENTRY_LVL ;

RUN;

 

Log error:

Libref DM is not assigned

 

Appreciate it,

Andy

Super User
Posts: 19,789

Re: Proc Append 'Libref X not assigned' error

Is the library assigned? 

Libraries don't stay between session unless you've specifically enabled them. 

 

Occasional Contributor
Posts: 15

Re: Proc Append 'Libref X not assigned' error

Hi, I'm not sure if the library is assigned. What would be example syntax?

Andy

##- Please type your reply above this line. Simple formatting, no
attachments. -##
Super User
Posts: 19,789

Re: Proc Append 'Libref X not assigned' error

[ Edited ]

See the training videos here

http://support.sas.com/training/tutorial/

 

 

Here's a specific one on assiging and using libraries

http://support.sas.com/training/tutorial/studio/access-data.html

Super User
Posts: 5,427

Re: Proc Append 'Libref X not assigned' error

Use
libname _all_ list;
to list all assigned libraries.
Data never sleeps
Ask a Question
Discussion stats
  • 4 replies
  • 255 views
  • 0 likes
  • 3 in conversation