Tom, Sorry to not have responded sooner. Happy New Year BTW! And...thank you! You are correct. My code is convoluted. I learned SAS the way my former supervisor taught me way back in 1985. I am the only programmer doing SAS in my office and have not taken time to update my "skills". Have been trying new things today. Thank you for the "prodding". Started a new version of my program. Trying to use loops (i,j,k) to iterate through years, semester, and institutions (in that order). How would you increment a loop index if not consecutive numbering? Example of my institution codes are '110','111','120','340'. Is there a way to use an IN('110','111') to update my index. I am attaching my new attempt. Jackie O
... View more