08-28-2016 08:54 AM - last edited on 08-28-2016 09:14 AM by Reeza
it is possible:
const = 3;
array num _NUMERIC_;
do over num; num = num / const; end;
08-28-2016 02:21 PM
Reeza, may I ask what do you mean by "deprecated" ?
I have tested the code, as wriiten originally with DO OVER and it worked without any syntax and even not a anote in the log.
As mutch as I know, DO OVER and DO ... FROM ... TO ... can't be used in same data step.
Is that the reason ?
08-28-2016 02:57 PM
No longer recommended.
For example - I can't find any reference to Do Over in 9.3/9.4 documentation.
It's still supported as legacy code.
Wow...this apparently was from V7 which is in 2000.
Beginning with SAS OnlineDoc, Version 7-1, documentation for implicitly subscripted arrays and any related topics (e.g. DO OVER) has been removed. As noted in SAS Language: Reference, Version 6, First Edition, p. 297, implicit arrays are supported only for compatibility with previous releases of the SAS System. These obsolete features have been removed from the documentation to discourage their use in new program development.
Need further help from the community? Please ask a new question.