Date: Fri, 11 Jul 2003 09:50:47 -0700
Reply-To: "Huang, Ya" <yhuang@AMYLIN.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Huang, Ya" <yhuang@AMYLIN.COM>
Subject: BY-line has been truncated
Content-Type: text/plain; charset="iso-8859-1"
Hi there,
I noticed that if the BY variable is a long string,
proc univariate will generate a 'NOTE' in the log,
saying "BY-line has been truncated at least once".
Even though I already have 'nobyline' option turned on
and noprint option for proc univariate. Though it
is not an ERROR message, it's still kind of annoying.
The trigger of the message has something to do with
linesize option too, seems that if the string is longer
than the ls option, SAS will give the NOTE.
I don't think there is any way around?
Kind regards,
Ya Huang
-----------------
options nobyline;
data class;
length longsex $200;
set sashelp.class;
longsex=sex||repeat('*',200);
run;
proc sort;
by longsex;
run;
proc univariate noprint;
var weight;
by longsex;
output out=tab mean=tmean;
run;
NOTE: BY-line has been truncated at least once.
NOTE: The above message was for the following by-group:
longsex=F*********************************************************************************
******
NOTE: The data set WORK.TAB has 2 observations and 2 variables.
|