Hello everybody,
I have a problem that I can't figure out. I'm trying to import my shape-file into VIYA/VA, but it fails everytime. I attached the log. I hope someone can help me.
I'm trying to use the %shpimprt autocall macro, but it doesn't work.
%shpimprt(shapefilepath=C:\ADM\kommune.shp, id=GEOID, outtable=mytable, cashost=psasva01.regionh.top.local, casport=5570, caslib='casuser');
I gives me the message: WARNING: Apparent invocation of macro SHPIMPRT not resolved.
And also: ERROR 180-322: Statement is not valid or it is used out of proper order.
Best regards
Martin
Hi Martin,
What version of Visual Analytics are you using? The %SHPIMPRT macro was introduced in VA 8.2 - it seems the macro is not available in your environment suggesting an older version or an instance of SAS which hasn't been updated yet. You may also look into PROC MAPIMPORT which is provided as part of the SAS/Graph package and provides similar features.
If you are using VA 7.4 - you may also check out related information about importing custom polygons as part of the administration guide.
Hope this helps!! Regards, Falko
Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.
Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.
See how to use one filter for multiple data sources by mapping your data from SAS’ Alexandria McCall.
Find more tutorials on the SAS Users YouTube channel.