@AustinHarris wrote:
I appreciate your help. I am a complete beginner to SAS with nearly no experience. This is my first piece of code, and I am learning as a go. I am certain I am doing things in the most inefficient manner possible... But I am doing them in ways that i know how and are somewhat working. My goal is of course to learn and take in information from individuals like yourself to become more efficient and knowledgeable in the SAS coding language/world.
I am going to attempt to implement this example and will let you know any results.
Thank you,
With your comment about "complete beginner" and "first piece of code" then my recommendation is NOT to attempt any macro language (the bits you have with &i are an example). A very minor macro logic issue can be very hard to trace down for a beginner because there can be a lot of timing and dependency issues that are not obvious to new users (and many fairly experienced).
I don't know if you have looked at your SAS online help at all but you may find bit titled "Learning to Use SAS" in the contents (depending on SAS environment).
... View more