BookmarkSubscribeRSS Feed
okaka23
Calcite | Level 5

I am using SAS EG and assign library 'US' as libname US ODBC user=XXX using=XXX datasrc=PROD_CBA  schema=US

 

I should have permission to 10 tables in US library, table1, table2, table3....table10. However, when I expand US library, it shows only table1 to table5. 

 

But I still have access to table6... table10 , they are just not visible in the library. 

I got the output after running the codes below.

data test;

set table7 (obs=5);

run;

 

I have also try uppercase of the the schema, but it doesn't help. 

 

there's probably an OPTIONS statement we can use to avoid this issue but really cannot recall it. Thanks for the help.

4 REPLIES 4
ChrisBrooks
Ammonite | Level 13

I see you're using an ODBC driver - what is the data source e.g. ORACLE, MySQL?

SASKiwi
PROC Star

Are table1, table2 etc the actual table names? The reason I ask is table names longer than 32 characters won't show as this is a documented SAS limitation.

ASHISH2525
Quartz | Level 8

Hi,

 

Did you find any solution for this.

We are facing same issue.

 

 

Regard,

Ashish

SASKiwi
PROC Star

If you are setting up a data source to an external database in SAS metadata in SAS Management Console, then to ensure you can see tables add AssignMode = 2 in the Properties of the library.

 

This also avoids having to register the tables in the first place.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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
  • 4 replies
  • 3006 views
  • 0 likes
  • 4 in conversation