BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Hi all,
I hope this is the right forum to post this kind of problem ...
I have an annoyance with DBLOAD. I guess I am forced to truncate all my column names in my Oracle table to 8 characters to match the variable names in my SAS table I want to import. As soon as I do that everything works as expected, however if I try to use the original variable names in my SAS table (that have been used to name the columns in the corresponding Oracle table) I get this error:
This DBLOAD compatibility procedure does not support loading of SAS data files with variable names longer than 8 characters. You must use the RENAME dataset option.

I can also see in the documentation that the SAS data set names and variable names can be up to 32 characters in length, however when using DBLOAD the names cannot exceed 8 characters in order to have compatibility with Version 6 naming conventions.

I guess I am more than willing to sacrifice this compatibility; please let me know how can I go around this 8 character limitation,

Thanks,
kowalsky
1 REPLY 1
LinusH
Tourmaline | Level 20
Is there a particular reason for you to use DBLOAD?
The most obvious and common way to load Oracle from SAS would be using standard table populating techniques through an Oracle Libname. I.e. PROC APPEND, SQL INSERT INTO etc.

/Linus
Data never sleeps

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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