BookmarkSubscribeRSS Feed

[SAS 활용 FAQ] DATA step 옵션 - RENAME

Started ‎10-28-2021 by
Modified ‎10-28-2021 by
Views 1,444
  • 변수명을 변경할 때 사용.

SAS data set( RENAME=(old-1 = new-1

old-2 = new-2

old-n = new-n ) )

 

◀예제▶   height를 ht로, weight를 wt로 변경.

 

DATA class;

SET sashelp.class( RENAME = (height = ht

Weight = wt) );

RUN;

Version history
Last update:
‎10-28-2021 02:53 AM
Updated by:
Contributors

sas-innovate-wordmark-2025-midnight.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


Register now!

Article Labels
Article Tags