私は、以下の2つのワークシート "woe_con_out"と "woe_cat_out"を同じExcel "woe_summary.xlsx"に作成しようとしています。このコードを実行すると、ワークシートが1つだけ生成されます(woe_cat_out)。どこが間違っていたのですか?sas ods excelは複数のワークシートを作成できません
data translate;
format report $256.;
infile "out_con.out" dlm='09'x dsd;
input report $;
run;
ods excel file="woe_summary.xlsx" style = printer options(sheet_name = "woe_con_out") ;
proc print data = translate noobs
style(data) = {font_face = "courier_new" font_size = 11pt}
style(column) = {width = 1000%};
run;
ods excel close;
data translate;
format report $256.;
infile "out_cat.out" dlm='09'x dsd;
input report $;
run;
ods excel file="woe_summary.xlsx" style = printer options(sheet_name = "woe_cat_out") ;
proc print data = translate noobs
style(data) = {font_face = "courier_new" font_size = 11pt}
style(column) = {width = 1000%};
run;
ods excel close;
あなたはどのSASのバージョンをお持ちですか? (9.4、私は仮定しますが、TS1M#?) – Joe