BookmarkSubscribeRSS Feed

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

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

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

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

Article Labels
Article Tags