How To Use _N_ [Automatic Variable] In SAS
_N_ Automatic Variable In SAS: The value for _N_ is initially set to 1. Each time the DATA step loops past the DATA statement, the variable _N_ increments by 1. The value of _N_ represents the number of times the DATA step has iterated. The following sample dataset will be used to demonstrate how to … Read more