@Raitag wrote:
Sorry i clicked on the wrong button
But by defining a two dimensional array i will have all my nbimpYYYYMM s value set to zero
won't i ?
A SAS array is just a "grid" that can be put upon existing variables to easily address them. It does not change values of variables per se.
If you define variables in the array that do not yet exist, then those are set to missing initially.
Edit:
and if you have lots of those nbimp variables, it will make sense to use macro programming to create the array definition.
... View more