Hi everybody,
I run the following code and it looks like my nonbase_dt field data are presented improperly because my log told that set OUT.BASEEARL has 0 observations while it has a lot
21 data out.baseEarl;
22 set out.baseEarl;
23 by memberid nonbase_dt;
24 if nonbase_dt le datepart(01/01/2002) THEN grptag="before";
25 else if grptag="after";
26 run;
NOTE: There were 2896 observations read from the data set OUT.BASEEARL.
NOTE: The data set OUT.BASEEARL has 0 observations and 35 variables.
This is the fragment of my Proc Contents:
# Variable Type Len Pos Format Informat Label
---------------------------------------------------------------------------------
26 nonbase_dt Num 8 176 MMDDYY10.
How should I fix my code?
Thanks i advance,
Irin
I run the following code and it looks like my nonbase_dt field data are presented improperly because my log told that set OUT.BASEEARL has 0 observations while it has a lot
21 data out.baseEarl;
22 set out.baseEarl;
23 by memberid nonbase_dt;
24 if nonbase_dt le datepart(01/01/2002) THEN grptag="before";
25 else if grptag="after";
26 run;
NOTE: There were 2896 observations read from the data set OUT.BASEEARL.
NOTE: The data set OUT.BASEEARL has 0 observations and 35 variables.
This is the fragment of my Proc Contents:
# Variable Type Len Pos Format Informat Label
---------------------------------------------------------------------------------
26 nonbase_dt Num 8 176 MMDDYY10.
How should I fix my code?
Thanks i advance,
Irin