DATA Step, Macro, Functions and more

Record is too long for buffer

Reply
Occasional Contributor
Posts: 11

Record is too long for buffer

ERROR: An internal error has occurred while reading a compressed file. Please call your SAS
Site Representative and report the following: compress offset = 2235 , de-compress
offset = 3943 , compress buf = "" .


ERROR: Record in file XYZ.ABC.DATA is too long for buffer.

 

I tried using bufsize=32768 option but it didn't help.

Super User
Posts: 7,809

Re: Record is too long for buffer

Call SAS technical support. Your dataset might be damaged.

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
Occasional Contributor
Posts: 11

Re: Record is too long for buffer

Posted in reply to KurtBremser

I have contacted them but they take too much time to respond so I posted here. Any way to determine if the dataset is indeed damaged?

Super User
Posts: 7,809

Re: Record is too long for buffer

Have you already tried proc datasets repair, as described in http://support.sas.com/techsup/notes/v8/13/873.html?

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
Occasional Contributor
Posts: 11

Re: Record is too long for buffer

Posted in reply to KurtBremser

I will try this and revert back. Thank you.

Trusted Advisor
Posts: 1,570

Re: Record is too long for buffer

If dataset is damaged you can try repair it using:

   proc datasets with repair statement.

 

If it fails you'll need to recreate the dataset, when it is possible, or restore it from a backup if exists.

Ask a Question
Discussion stats
  • 5 replies
  • 600 views
  • 0 likes
  • 3 in conversation