Hello averyone,
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?
/*SAScode_one.sas*/
........
165 proc transpose data = one out = two;
166 by LN_NBR;
167 id StaffID;
168var STAFF_INDIV_ID;
169 run;
.......
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..
Thanks!
Mike