BookmarkSubscribeRSS Feed
sasg
Calcite | Level 5

Hi,

      I'm using SAS eg 4.2.....i'm running one query on oracle database.....database is connected to sas server.

      To run my query everytime i have to assign library manually by clicking on that library and assign.

      can i do this through libname facility.

      I saw syntax like this 

     

      LIBNAME CLOAD_RT oracle '\Shared Data\Oracle\CLOAD_RT'

      if i put path name like above is it works?......how can i get pathname for SASApp server?

Thanks,

rk

1 REPLY 1
twocanbazza
Quartz | Level 8

Hi

If using a metadata library, sounds like you are given you are.

Try

LIBNAME  _libref_ META library="_Meta_data_library_Name_";

Barry

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
  • 1 reply
  • 1157 views
  • 0 likes
  • 2 in conversation