Rune
2008-12-02 12:23:29 UTC
I have a data set named LongLine - with one variable also named
LongLine. The length of the variable is defined 580 positions. It
contains a string of 300 positions. When i write it with proc print, I
get a warning telling me that data is too long and will be truncated,
see log message below:
63159 proc print data = LongLine;
63160 run;
NOTE: Writing HTML Body file: sashtml102.htm
WARNING: Data too long for column "Line"; truncated to 206 characters
to fit.
NOTE: There were 1 observations read from the data set WORK.LONGLINE.
NOTE: PROCEDURE PRINT used (Total process time):
real time 0.17 seconds
cpu time 0.03 seconds
In the output, the content is truncated to 206 positions. But when I
use ODS to write to a textfile, then all 300 positions of text is
preserved.
Is there anyting I can do to suppress this warning? Or even better,
make SAS accept a string of 560 positions?
Rune
LongLine. The length of the variable is defined 580 positions. It
contains a string of 300 positions. When i write it with proc print, I
get a warning telling me that data is too long and will be truncated,
see log message below:
63159 proc print data = LongLine;
63160 run;
NOTE: Writing HTML Body file: sashtml102.htm
WARNING: Data too long for column "Line"; truncated to 206 characters
to fit.
NOTE: There were 1 observations read from the data set WORK.LONGLINE.
NOTE: PROCEDURE PRINT used (Total process time):
real time 0.17 seconds
cpu time 0.03 seconds
In the output, the content is truncated to 206 positions. But when I
use ODS to write to a textfile, then all 300 positions of text is
preserved.
Is there anyting I can do to suppress this warning? Or even better,
make SAS accept a string of 560 positions?
Rune