BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Tom
Super User Tom
Super User

@Shrutibhatnagar wrote:

i want to know how do i refer this table ,as we refer through libname when we give a path but this is created in proc statement i wrote . How to refer the test table in proc sql to be joined with smb table ?


If you created a table named TEST then you refer to it the same way, as TEST.

 

You can refer to tables using a one-level (member) or two-level (libref.member) name.

When you use a one level name SAS will normally prefix the libref of WORK.  (Note that you can create a USER libref or use the associated options to override this behavior).  So you could also refer to it as WORK.TEST.

 

If you created a work dataset and then start a new SAS session then that dataset is gone and you will need to re-create it. (Again there are options to override the default behavior of deleting work datasets when the SAS session ends)

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
  • 15 replies
  • 5145 views
  • 2 likes
  • 4 in conversation