I'm trying to simplify some spss syntax I've inherited. The syntax is iterated hundreds of times.
I have 80 or so variables with text in them that say "Award1" "Award2" etc all the way up to "Award17"
The syntax as it's written now:
if (NYSRIRP = "AWARD17") NYSRIRP_AMT = Award17_AMT.
Is there a macro to iterate this code for every Award number and/or every variable eg. NYSRIRP (there are 80 of these).