1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
| ods tagsets.excelxp file="O:\....\5.Sortie SAS\2.Tableau de bord\Comparatif_sco_app.xls";
ods listing close;
ods tagsets.excelxp options (sheet_name = '1.Eff niveau');
PROC TABULATE DATA = niv_dip_fi;CLASS niveau dip statut;var effectif;
TABLE (niveau="")*(dip="" all="Total diplôme du niveau") all="Total", (statut all= "Total")*(effectif=""*sum="") /misstext='0';
format specialite2 $fspec_a. dip $fdipter. niveau $fniveau.;
run;
ods tagsets.excelxp options (sheet_name = '2.Eff_statut_spec2');
PROC TABULATE DATA = dip_spe2_fi;CLASS specialite2 code_dip2 statut;var effectif;
TABLE (code_dip2="")*(specialite2="" all="Total") all="Ensemble", (statut all= "Total")*(effectif=""*sum="") /misstext='0';
format specialite2 $fspec_a.;
run;
ods tagsets.excelxp options (sheet_name = '3.1 Eff_statut_spec102_P');
PROC TABULATE DATA = dip_spe102_fi;CLASS specialite102 code_dip2 statut; where specialite2='2';var effectif;
TABLE specialite102="" all="Total", (code_dip2*(statut all= "Total FI")*(effectif=""*sum="" )effectif=Ensemble*sum="")/misstext='0';
format specialite102 $fgroupe. ;
run;
ods tagsets.excelxp options (sheet_name = '3.2 Eff_statut_spec102_S');
PROC TABULATE DATA = dip_spe102_fi;CLASS specialite102 code_dip2 statut; where specialite2='3';var effectif;
TABLE specialite102="" all="Total", (code_dip2*(statut all= "Total FI")*(effectif=""*sum="") effectif=Ensemble*sum="")/misstext='0';
format specialite102 $fgroupe. ;
run;
ods listing;
ods tagsets.excelxp close; |
Partager