|
Hi Heman,
You should have provided more example code. We don't know about
&sasperdat. But it is clear that you can't use SAS code inside a value
(range) definition. You can do it via macro code, however:
%LET intnxDay = %SYSFUNC(intnx(DAY, &sasperdat., 1));
proc format;
value buckets
&sasperdat. - &intnxDay. = 1;
run;
Regards - Jim.
--
Jim Groeneveld, Netherlands
Statistician, SAS consultant
home.hccnet.nl/jim.groeneveld
On Thu, 17 Aug 2006 05:18:27 -0400, Heman Hunters <hemanhunters@GMAIL.COM>
wrote:
>I want to create a "dynamic" format according to the code below, but I
>can't quite get it right:
>
>proc format;
>value buckets
> &sasperdat. - intnx('DAY', &sasperdat.,1) = 1;
>run;
>
>What am I doing wrong?
|