BookmarkSubscribeRSS Feed

[SAS 활용 FAQ] txt 파일을 infile 할 때, "One or more lines were truncated." 메시지가 나옵니다.

Started ‎05-26-2021 by
Modified ‎05-26-2021 by
Views 513

[상세내용]

=============================================

One or more lines were truncated.

=============================================

NOTE: 29507 records were read from the infile BBB.

The minimum record length was 1.

The maximum record length was 256.

One or more lines were truncated.

NOTE: SAS went to a new line when INPUT statement reached past the end of a line.

NOTE: The data set WORK.AAA has 153 observations and 228 variables.

 

[답변]

INFILE 문장에 LRECL= 옵션을 사용해야 합니다.

텍스트 파일의 한 레코드의 길이가 256 바이트를 초과하여 발생하는 메시지입니다.

이 옵션의 값으로 가지고 계신 텍스트 파일의 레코드()의 최대 길이를 지정해 주시면 됩니다. ) lrecl=32767

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