BookmarkSubscribeRSS Feed

[SAS 활용 FAQ] LENGTH 문

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

LENGTH 변수() <$> 길이 ;

 

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

DATA class;

LENGTH name $ 10 age 5 ;

Name = ‘홍길동’;

Age = 12 ;

RUN;.

Version history
Last update:
‎10-26-2021 04:50 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