This has an error
top_tx_min_cible_&var = tx_min_cible_&var.sum;
It should say
top_tx_min_cible_&var = tx_min_cible_&var..sum;
Note there must be two dots after &var on the right hand side of the equal sign, one dot to end the name of the macro variable, and one dot to indicate the dot that PROC REPORT requires in this situation before the word SUM. You need to fix this throughout your code.
From now on when you get an error in code, you MUST (it is not optional) show us the entire log for this PROC, every single line in the log for this PROC, not just the error messages. If the above still doesn't fix your problem, we need to see the ENTIRE log for this PROC, not just the error messages. In addition, you should turn on macro debugging tools by running this line of code before you run the macro:
options mprint;
... View more