BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
claudiodejesusa
Obsidian | Level 7

Hi everyone,

 

I'm working with SAS Viya 3.5 with Azure Databricks, i have connection with ODBC, but i got some problems when i try to establish a caslib to data source odbc and want to add parameter dbmax_text. This parameter is success with JDBC, but in ODBC is the problem.

 

Do you know the correct syntax? I use this parameter because of my database has string fields and when the data go to SAS i want tu manage the length of the string converted to char type on SAS.

 

Thanks for the support

Claudio

 

claudiodejesusa_0-1700066730364.png

 

 

claudiodejesusa_1-1700066748761.png

 

 

 

 

Claudio
1 ACCEPTED SOLUTION

Accepted Solutions
SASJedi
SAS Super FREQ

DBMAX_TEXT is not one of the supported options for the CAS ODBC data connector in Viya 3.5 (and even in Viya 2023.9). I don't have access to a Viya instance using ODBC to access STRING data types, but you should give the connection a try without using DBMAX_TEXT. Remember that, unlike base SAS data sets, CAS tables support the VARCHAR data type.

Check out my Jedi SAS Tricks for SAS Users

View solution in original post

1 REPLY 1
SASJedi
SAS Super FREQ

DBMAX_TEXT is not one of the supported options for the CAS ODBC data connector in Viya 3.5 (and even in Viya 2023.9). I don't have access to a Viya instance using ODBC to access STRING data types, but you should give the connection a try without using DBMAX_TEXT. Remember that, unlike base SAS data sets, CAS tables support the VARCHAR data type.

Check out my Jedi SAS Tricks for SAS Users

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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
  • 1 reply
  • 585 views
  • 1 like
  • 2 in conversation