BookmarkSubscribeRSS Feed
claudiodejesusa
Obsidian | Level 7
Hi everybody,

In my company, we have production database with hive and impala, the fields have size bigger than 32 characters.

I know that SAS has a name convention about DBMS, but how your company or SAS experts suggest to deal with this problem?

I want suggestions in order to board with data engineer team.

Thanks,
Claudio
Claudio
2 REPLIES 2
SASKiwi
PROC Star

This issue goes back a long way. Check this post out: Solved: Dealing with 32 character restrictions - SAS Support Communities

 

BTW: SAS 9.5 as mentioned in the post was going to fix this, however 9.5 is no longer planned with all major software development switching to Viya.

 

The main workaround is to use SQL Passthru (see post). This is also available in Viya. I'm not sure if there are other Viya ways of dealing with this. I'm interested if there are as we will be moving to Viya in the near future.

LinusH
Tourmaline | Level 20

CAS has pretty much the same naming conventions as SAS 9.4.

Ironically, CASLIB's can be up to 256 chars long (but the recommendation is to stick to max 8 to mach the libref in the LIBANAME statment....).

Data never sleeps

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 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
  • 572 views
  • 1 like
  • 3 in conversation