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

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

Register now!

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
  • 1025 views
  • 0 likes
  • 2 in conversation