Here is an example of the same logic substituting MD for OR.
Try running both and compare the results to see what I am talking about.
*-----------------------------------------------;
DATA MASTER; INPUT ID $ STATE $ SOURCE $ ;
DATALINES ;
A1 AL PHONE
A2 AL PHONE
A3 KY...
I tried that and it did not work. If you change OR to another state abbreviation the original logic it works. There has to be a way to mask OR so that the macro will resolve properly.
I am trying to run a macro that has state names in it and there seem to be problems with Oregon because of it's abbreviation. I created a simpler version of the program for testing and I am pasting it below. Can anybody get this to work.
DATA MASTER; INPUT ID $ STATE $ SOURCE $ ;
DATALINES ...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.