Tip of the Day:July 30
From sasCommunity
sasCommunity Tip of the DayOccasionally, some data analysts have the unfortunate task of renaming variables with suffix and it can be very tough on the fingers to type the variables 100 times. However, SAS data step recognized the suffix-array notation and thus you can avoid that finger work out with this simple programming syntax. DATA DATAYOUKNOWWHO; SET DATAYOUKNOWWHAT( RENAME = ( Y1-Y100 = X1 - X100 ) ); RUN; ....see also Submitted by Murphy Choy. Contact me at my Discussion Page.
Feel free to comment on this tip. |