BookmarkSubscribeRSS Feed

[SAS 활용 FAQ] 할당문

Started ‎10-28-2021 by
Modified ‎10-28-2021 by
Views 502
  • 새로운 변수를 생성하거나 기존 변수 값을 변경.
  • 표현식의 결과를 값으로 할당.
  • 표현식은 피연산자(상수, 변수)와 연산자(함수, 산술연산 기호)를 사용하여 구성.

변수 = 표현식 ;

 

◀예제▶

DATA work.new;

MyBirthYear = year(‘01jan1960’d) ;

MyName = ‘홍길동’;

RUN;

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

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

Article Labels
Article Tags