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

Check the setting of the VALIDVARNAME option.  Perhaps you have it set the V6 and your table names are all longer than 8 characters?

 

Try seeing if you can use pass thru SQL with that connection to read from one of the tables that you can when using Teradata tools.

.

libname ABCD teradata user='user' password="******" 
  tdpid=tera1.home.com schema=ABCD_EFG_HIK
;

proc sql ;
  connect using ABCD ;
  select * from connection to ABCD
   (select top 1 * from ABDC_EFG_HIK.table1)
  ;
quit;
1 ACCEPTED SOLUTION

Accepted Solutions
Riana
Pyrite | Level 9

Thank you ChrisHemedinger. I had contact with Teradata team and there was some issues with access rights. I didn't have 'select' permission on this table. Now I can see the tables.

View solution in original post

2 REPLIES 2
ChrisHemedinger
Community Manager

Another reason you might see a difference: if EG is accessing the libraries using SAS Metadata, the tables might need to be registered in metadata for you to see the contents.  @Tom supplied good sample code for you to see if you have access via your SAS session, but you might need to petition your SAS admin to either register the tables or grant you ReadMetadata and Read access to the library/SAS folder where the data sets are registered.

Register for SAS Innovate 2025!! The premier event for SAS users, May 6-9 in Orlando FL. Sign up now for the best deals!
Riana
Pyrite | Level 9

Thank you ChrisHemedinger. I had contact with Teradata team and there was some issues with access rights. I didn't have 'select' permission on this table. Now I can see the tables.

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!

How to connect to databases in SAS Viya

Need to connect to databases in SAS Viya? SAS’ David Ghan shows you two methods – via SAS/ACCESS LIBNAME and SAS Data Connector SASLIBS – in this video.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 2034 views
  • 0 likes
  • 3 in conversation