Date: Tue, 24 Feb 2009 10:43:05 +0800
Reply-To: "Yuntao_Dou (BJ)" <Yuntao_Dou@SMICS.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Yuntao_Dou (BJ)" <Yuntao_Dou@SMICS.COM>
Subject: =?GB2312?Q?=B4=F0=B8=B4:?= SAS code line maximum length 960
Content-Type: text/plain; charset="GB2312"
Firstly, we had better avoid to have one line that is greater than 960 chars longs for it is not a bood programming habit
Secondly, we can use program editor instead of enhanced one to bypass the issue.
Northern Product/BJ YMS
Semiconductor Manufacturing International corporation(Beijing)
No.18 Wenchang Road,Beijing Developing Area,Beijing China.
发件人: SAS(r) Discussion [mailto:SAS-L@LISTSERV.VT.EDU]代表 Lou
发送时间: 2009年2月24日 9:29
主题: Re: SAS code line maximum length 960
"Kenneth M. Lin" <email@example.com> wrote in message
> Wouldn't it be easier to break down your SQL code into several
> instead of waiting around for a response? You didn't provide your code
> I am suspecting that you are listing a lot of variables names.
It doesn't matter how many variable names are being used, what matters is
that whatever it is is strung out on one (1) line that's greater than 960
No matter how you slice it, that's not a great way to write code - by the
time you've scrolled that far to the right, you can't see what's back there
in the beginning of the line on the left.
Instead of writing:
proc sql; create table fee as select fie, fo, fum from ismell order by the,
blood, of, an, englishman; quit;
write your code as
create table fee as
select fie, fo fum
order by the, blood, of, an, englishman;
> "Zibiao Zhang" <HSPH.HARVARD.EDU> wrote in message
> > Hi All,
> > I wrote a proc sql sas code which is longer than 960 characters, then
> > said:
> > submitted code contains lines longer than 960 characters, SAS is unable
> > process lines longer than 960 characters. Your submission has been
> > aborted.
> > Any idea I can reset this option?
> > Thanks,
> > Z