BookmarkSubscribeRSS Feed
Kim_SOM
Calcite | Level 5

I have been granted access to tables in a data warehouse.  When I use software such as DBeaver, I can open the tables I need. I need to analyze the data using SAS and I can't access the tables. 

Here's the warehouse setup:

  1. Database ABCD
    1. Schemas
      1.       A
      2.       B
      3.       C
        1. Table_1
        2. Table_2
        3. Table_3

libname statement 

libname A1 postgres server="XXXXXXXXXX" port=5432

 user=usrname pwd='XXXXX'  database=abcd;

SAS LOG:

NOTE: Libref abcd was successfully assigned as follows:
Engine: POSTGRES
Physical Name: XXXXXXXXXX

SAS Code:
Proc contents data=a1._all_;
run;

SAS LOG:

ERROR: File A1.Table1 does not exist.

 

I am not sure what other libname options I need. 

Your help is greatly appreciated.

 

 

 

 

2 REPLIES 2
Kim_SOM
Calcite | Level 5
Thank you -- that seems to work. I will have to test it.
I appreciate the quick response

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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