BookmarkSubscribeRSS Feed
rpg163
Calcite | Level 5

Hi,

I get a problem on read DBF format data.

When I try to import a DBF format data, "AF_BENCH.DBF", with proc import, like this:

PROC IMPORT OUT=asd

    DATAFILE="E:\Database\ORG\Analyst_DBF\Rank\AF_BENCH.DBF"

    DBMS=DBF REPLACE;

run;

well,  two variables are missing, both the two variables are string variables and are very long (one of them is "notes" and contains observations more than 100 words)

Is it because the variables are too long? How should I deal with it?

Many THX!

3 REPLIES 3
ballardw
Super User

You might try DBMS= DBFMEMO to read data with memo fields, which sounds like your data.

rpg163
Calcite | Level 5

THX. But it doesn‘t work. Is it a option in lastest version? My sas version is 9.1.3, I can not find this DBMS option in SAS help.

rpg163
Calcite | Level 5

Well, I just search it in SAS support, yes, This indeed is an option in SAS 9.2. Well, update is nessary?

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

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

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
  • 3 replies
  • 1683 views
  • 0 likes
  • 2 in conversation