早上全部,PC SAS:ODS CSV到工作表
我有4個過程列表,我想輸出到一個工作簿,但不同的工作表自動。我怎樣才能做到這一點。
附加是proc選項卡的示例。
ods csv;
proc tabulate data=test1 noseps missing;
class Router_Desc Team_Desc router team;
var DaysDelq;
table Router_Desc*Team_Desc*router*team*ENF_LTR*SOLS_LTR ALL, DaysDelq=' '*(N=VOL SUM=VALUE);
where ENF_LTR='Y' and SOLS_LTR='Y';
run;
proc tabulate data=test1 noseps missing;
class Router_Desc Team_Desc router team;
var DaysDelq;
table Router_Desc*Team_Desc*router*team*ENF_LTR*SOLS_LTR ALL, DaysDelq=' '*(N=VOL SUM=VALUE);
where ENF_LTR='Y' and SOLS_LTR='N';
run;
proc tabulate data=test1 noseps missing;
class Router_Desc Team_Desc router team;
var DaysDelq;
table Router_Desc*Team_Desc*router*team*ENF_LTR*SOLS_LTR ALL, DaysDelq=' '*(N=VOL SUM=VALUE);
where ENF_LTR='N' and SOLS_LTR='Y';
run;
proc tabulate data=test1 noseps missing;
class Router_Desc Team_Desc router team;
var DaysDelq;
table Router_Desc*Team_Desc*router*team*ENF_LTR*SOLS_LTR ALL, DaysDelq=' '*(N=VOL SUM=VALUE);
where ENF_LTR='N' and SOLS_LTR='N';
run;
ods csv close;