I wrote the following gmap input data and got an error for the canada part. /* Combine the map data set with the annotate data set. */
data all;
/* Subset out the states that you do not want. */
/* The FIPS code of 2 is Alaska, 15 is Hawaii, */
/* and 72-Puerto Rico. California-6 Florida-12
Oregon-41 Nevada-32 Arizona-4*/
set maps.states(where=(state not in(2 4 6 12 15 32 41 72)))
maps.canada(where=(province not in(10:13 60 61))) anno;
*anno;
*maps.canada4 anno;
*maps.canada4(where=(province not in(10:13 60 61))) anno;
run; The error message is: 93 data all; 94 /* Subset out the states that you do not want. */ 95 /* The FIPS code of 2 is Alaska, 15 is Hawaii, */ 96 97 /* and 72-Puerto Rico. California-6 Florida-12 98 Oregon-41 Nevada-32 Arizona-4*/ 99 set maps.states(where=(state not in(2 4 6 12 15 32 41 72))) 100 maps.canada(where=(province not in(10:13 60 61))) anno; ERROR: WHERE clause operator requires compatible variables. I would appreciate help in correcting this error. Thanks.
... View more