|
From: Fehd, Ronald J. [mailto:rjf2@CDC.GOV]:
> data mydata;
> set in;
> length my_var $&MAXLEN.;
>
> Uh, Jack, David, <tsk, tsk>
> "Not enough notes!" nor dots
> after the format name..
> .....................^^ snake eyes!
But Ron, that's not supposed to be a format, it's a length specification.
So you don't want/need a dot at the end. Even if SAS tolerates the mistaken
use of a format, I'd think it is to be avoided. Also seems like SAS
tolerates a space between the $ sign and the number:
121 data a;
122 length alpha $ 5;
123 alpha='abcdefg';
124 put alpha=;
125 run;
alpha=abcde
Kind Regards,
--Quentin
|