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

SAS For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!
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.

SAS For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!

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