BookmarkSubscribeRSS Feed

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

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

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

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

Article Labels
Article Tags