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. 

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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