Bonjour,
Je souhaite via une macro envoyer dans un fichier html le tableau de ma proc report.
Ceci en paramétrant le fichier de sortie à partir de macro-variables.
Mais cela ne fonctionne pas.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23 %macro results_ind(num,fichier); data individu; set DPC.Report; where numero=# run; %let a= .html; %let a4= "&fichier&num&a"; %put &a4; ods html file=&a4 style=sasweb; proc report ................ ..................... run; ods html close; %mend ; %results_ind(1,C:\sortie_);
Voici l:
Le problème vient visiblement du fait qu'il n'y ait pas de sortie active. Ce que je ne m'explique pas...608 %results_ind(1,C:\sortie_);
NOTE: There were 8 observations read from the data set DPC.REPORT.
WHERE numero=1;
NOTE: The data set WORK.INDIVIDU has 8 observations and 10 variables.
NOTE: L'étape DATA used (Total process time):
real time 0.01 secondes
cpu time 0.00 secondes
"C:\sortie_1.html"
WARNING: No output destinations active.
NOTE: There were 8 observations read from the data set WORK.INDIVIDU.
NOTE: PROCEDURE REPORT used (Total process time):
real time 0.01 secondes
cpu time 0.01 secondes
Avez-vous des idées ?
Merci d'avance
Adrien
Partager