BookmarkSubscribeRSS Feed

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

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

[상세내용]

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

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

Contributors
Version history
Last update:
‎05-26-2021 11:04 PM
Updated by:

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

Article Labels
Article Tags