BookmarkSubscribeRSS Feed

[SAS 활용 FAQ] text file을 import 시, obs의 갯수를 지정해서 가져오려면?

Started ‎05-18-2021 by
Modified ‎05-30-2021 by
Views 303

infile 문에 firstobs와 obs 옵션을 지정하면 됩니다.

firstobs는 시작되는 obs, obs는 추출할 obs의 갯수를 입력합니다.

) infile 'c:\data.txt' firstobs=1 obs=500;

Version history
Last update:
‎05-30-2021 10:02 PM
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