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-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

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.

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
  • 1 reply
  • 587 views
  • 0 likes
  • 2 in conversation