Hello SAS gurus;
I have a problem running the proc sgmap in the course SAS® Programming 1: Essentials. In all lesson, whenever I try to replicate and run the proc sgmap provided by Official SAS, the Log alway shows that "ERROR: Procedure SGMAP not found.". I do not understand why. Please help to fix this problem. Below is the code in the program "p106p03" of "Lesson 6: Exporting Results".
title1 "2016 Northern Atlantic Storms"; proc sgmap plotdata=pg1.storm_final; *openstreetmap; esrimap url='http://services.arcgisonline.com/arcgis/rest/services/World_Physical_Map'; bubble x=lon y=lat size=maxwindmph / datalabel=name datalabelattrs=(color=red size=8); where Basin='NA' and Season=2016; keylegend 'wind'; run; proc print data=pg1.storm_final noobs; var name StartDate MaxWindMPH StormLength; where Basin="NA" and Season=2016; format StartDate monyy7.; run;
Please share information about the sas version and environment you are working with. It seems that you don't have SAS/Graph installed or licenced.
Hi andreas_lds,
Please find attached the status of my SAS package
Hi Reeza,
Please find attached the status of my SAS package
Hi!
I'm facing the same problem. As you suggested I'm using SAS On Demand.
I've submitted the procedure of the ep101d01.sas file but the map does not appear (in the xlsx file too).
In the Log there is not any advise.
@gioboscaino please post this as a new question.
This current thread is two years old, only the original respondents would see it, and it's not the same issue most likely.
Please include your code and log, even though you say it has no 'advise'.
To solve the problem just change from http:// to https://
title1 "2016 Northern Atlantic Storms"; proc sgmap plotdata=pg1.storm_final; *openstreetmap; *esrimap url='http://services.arcgisonline.com/arcgis/rest/services/World_Physical_Map'; esrimap url='https://services.arcgisonline.com/arcgis/rest/services/World_Physical_Map'; bubble x=lon y=lat size=maxwindmph / datalabel=name datalabelattrs=(color=red size=8); where Basin='NA' and Season=2016; keylegend 'wind'; run; proc print data=pg1.storm_final noobs; var name StartDate MaxWindMPH StormLength; where Basin="NA" and Season=2016; format StartDate monyy7.; run;
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.
Find more tutorials on the SAS Users YouTube channel.