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?

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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