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 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

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