BookmarkSubscribeRSS Feed
Nehe3000
Calcite | Level 5

"ERROR: LIBREF SAPENG IS NOT ASSIGNED."

3 REPLIES 3
Kurt_Bremser
Super User

@Nehe3000 wrote:

"ERROR: LIBREF SAPENG IS NOT ASSIGNED."


What it says. You tried to use the library SAPENG, but it has not yet been assigned.

Look in your log(s) where the assignment is and why it failed; if you don't find it, you need to code it.

Amir
PROC Star

Hi,

 

In a nutshell, what @Kurt_Bremser has said tells you what you need to know.

 

If you are still having problems then please post the full log of your code including the library assignment (assuming it is not external to SAS, e.g., in JCL) and include any messages - especially errors. When posting the log, please use the Insert Code icon "</>".

 

Also, check the spelling of your library name - there might be a typo when allocating it or when referencing it.

 

The general idea of providing context (e.g., a log) would be true for virtually any issue that is being questioned on this forum.

 

Edit: The subject mentions "Errors", i.e., plural, so have you received multiple errors, in which case the error could be earlier in the code which has had a knock on effect to cause later errors, including the one you've reported?

 

 

Thanks & kind regards,

Amir.

Nehe3000
Calcite | Level 5
Thanks! Got it already.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

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
  • 3 replies
  • 528 views
  • 2 likes
  • 3 in conversation