BookmarkSubscribeRSS Feed
MariaD
Barite | Level 11

Hi Folks,

 

Recently we move to SAS 9.4 and  SAS EG 7 on Unix. Now, the users has problem to import .DBF files using point-and-click. We tried to use the following code:

 

proc import datafile='\\folder_on_network\file.DBF'
      dbms=dbf
      out=work.table replace;
      server='IP';
      port=9621;
      serveruser='domain\user';
      serverpass='senha';
run;

 

 

But the procedure not recognise the PCFF server options and our files are on windows network folder:

 

30               server='IP';
                 ______
                 180
31               port=9621;  

 

Any idea to resolve it?

 

Regards,

 

1 REPLY 1
SASKiwi
PROC Star

This link should help: https://documentation.sas.com/?docsetId=acpcref&docsetTarget=p04mnmm6ms0y8yn1ass9qgxa932c.htm&docset...

 

It lists the statements that are valid for PROC IMPORT and DBMS = DBF. You can't use server, port, serveruser, serverpass with DBMS = DBF. I suspect you need to have the DBF folder directly accessible by your SAS server, not on another one. 

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and save with the early bird rate—just $795!

Register now

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

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