CODE: proc sql; create table index2 as select baseid, FDB_GNN, min(filldate) as indexdate from index1 t1 where exists(select * from index2 where baseid=t1.baseid and FDB_GNN=t1.FDB_GNN and filldate>t1.filldate and intck('month',t1.filldate,filldate)<=6); quit; LOG: 444 proc sql; 445 create table index2 as 446 select 447 baseid, 448 FDB_GNN, 449 min(filldate) as indexdate 450 from 451 index1 t1 452 where exists(select * from index2 where baseid=t1.baseid and FDB_GNN=t1.FDB_GNN and filldate>t1.filldate 453 and intck('month',t1.filldate,filldate)<=6); ERROR: File WORK.INDEX2.DATA does not exist. 454 quit; NOTE: The SAS System stopped processing this step because of errors. NOTE: PROCEDURE SQL used (Total process time): real time 0.07 seconds cpu time 0.00 seconds
... View more