Help using Base SAS procedures

DBF problem on proc import

Reply
Contributor
Posts: 60

DBF problem on proc import

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!

Super User
Posts: 10,516

DBF problem on proc import

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

Contributor
Posts: 60

Re: DBF problem on proc import

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.

Contributor
Posts: 60

Re: DBF problem on proc import

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

Ask a Question
Discussion stats
  • 3 replies
  • 235 views
  • 0 likes
  • 2 in conversation