SAS Tech & Tip

BookmarkSubscribeRSS Feed

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

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

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-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

Register now!

Article Labels
Article Tags