BookmarkSubscribeRSS Feed
agbpilot
Obsidian | Level 7

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

4 REPLIES 4
Reeza
Super User

Is the library assigned? 

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

 

agbpilot
Obsidian | Level 7
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. -##
Reeza
Super User

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

LinusH
Tourmaline | Level 20
Use
libname _all_ list;
to list all assigned libraries.
Data never sleeps

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

Develop Code with SAS Studio

Get started using SAS Studio to write, run and debug your SAS programs.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 4 replies
  • 1838 views
  • 0 likes
  • 3 in conversation