How would you modify this code to reference Sum_Images in follow-on processing as if it is variable in itself? I'm calculating Exposure At Default (EAD) for 5 mortgages for which I have create variables that representing the Unpaid Balance (UPB) for the next 3 months. Idea is to sum all 5 UPB values next month, and save it in EAD1. Do the same for the month thereafter, and save it into variable EAD2. Lastly, do the same for the 3rd month, and save it into EAD3. I've tried to incorporate the retain statement into the SQL code, but SAS does not like that. Thank you for any advice you may provide. Respectfully, Marshall
... View more