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));
&sasperdat. - &intnxDay. = 1;
Regards - Jim.
Jim Groeneveld, Netherlands
Statistician, SAS consultant
On Thu, 17 Aug 2006 05:18:27 -0400, Heman Hunters <hemanhunters@GMAIL.COM>
>I want to create a "dynamic" format according to the code below, but I
>can't quite get it right:
> &sasperdat. - intnx('DAY', &sasperdat.,1) = 1;
>What am I doing wrong?