BookmarkSubscribeRSS Feed

[SAS 활용 FAQ] LENGTH 문

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

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:

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

Article Labels
Article Tags