BookmarkSubscribeRSS Feed

[SAS 활용 FAQ] LENGTH 문

Started ‎10-26-2021 by
Modified ‎10-26-2021 by
Views 336
  • 새로운 변수를 생성하면서 길이를 지정할 때 사용.

LENGTH 변수() <$> 길이 ;

 

◀예제변수 name은 문자 10byte, age는 숫자 5byte로 지정.

DATA class;

LENGTH name $ 10 age 5 ;

Name = ‘홍길동’;

Age = 12 ;

RUN;.

Contributors
Version history
Last update:
‎10-26-2021 04:50 AM
Updated by:

Catch up on SAS Innovate 2026

Nearly 200 sessions are now available on demand in the Innovate Hub.

Watch Now →
Article Labels
Article Tags