05-23-2012 06:00 PM
If we use "num " command we can show the rows number of each row in SAS code.
My question is Is there any auto macro or SAS function can record/return the row number?
165 proc transpose data = one out = two;
166 by LN_NBR;
167 id StaffID;
in the example above,transpose statement's row number is 165.
The aim is when run the SAS code ,we can see the log ,I want to add some information(such as current running code's row number in the code) show on the log..