BookmarkSubscribeRSS Feed
EO13
Calcite | Level 5

I'm trying to create a map based on the US Census zip code boundary files.  This is based on the steps outlined in this paper: http://support.sas.com/resources/papers/proceedings13/214-2013.pdf

I've downloaded the proper map files and gotten to the point where I run this:

proc mapimport datafile="C:/LOCAL_FILE_LOCATION.shp"out=va_zshp;

run;

The program errors out though as it is looking to the "remote" SASAppOA server, rather than my local machine for this file.

Is there a way I can "force" EG to look locally?

I attempted to use the "Upload Data Files to Server" add-in, but it doesn't recognize .SHP

I also can't seem to get import data to work for this either, it doesn't recognize format.

Using EG 6.1 on SAS 9.4

4 REPLIES 4
ChrisHemedinger
Community Manager

You can use the Copy Files task (a free custom task) to copy the file for you.  And here's another source about using MAPIMPORT.

Chris

It's time to register for SAS Innovate! Join your SAS user peers in Las Vegas on April 16-19 2024.
EO13
Calcite | Level 5

Thanks for the quick response.  I'll give this a shot.

EO13
Calcite | Level 5

Does the Copy Files task work with enterprise guide 6.1, SAS 9.4? 

ChrisHemedinger
Community Manager

Yes, it does.  It does have "5.1" in the name (I know) but it works with 6.1 as well.

It's time to register for SAS Innovate! Join your SAS user peers in Las Vegas on April 16-19 2024.

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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
  • 4 replies
  • 1373 views
  • 0 likes
  • 2 in conversation