Pratique de Sas Windows 9.2... Volume 1 - Ined
Pratique de Sas Windows 9.2... Volume 1 - Ined
Pratique de Sas Windows 9.2... Volume 1 - Ined
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Il y a tout d’abord un certain nombre d’options<br />
qui visent en fait l’aperçu avant impression et<br />
qui ne seront pas visible à l’œil nu.<br />
Topmargin,leftmargin,bottommargin et<br />
rightmargin= sont à passer en instruction<br />
options topm … ;<br />
Les <strong>de</strong>ux autres <strong>de</strong>vront se passer en option <strong>de</strong><br />
tagset et seront passées avec les options<br />
Print_Footer='…' ;Print_Hea<strong>de</strong>r="texte " ;<br />
Ceci n’est autorisé que si d’autres options sont<br />
présentes<br />
Embed<strong>de</strong>d_Titles="yes" ; et/ou<br />
Embed<strong>de</strong>d_Footnotes="yes" ;<br />
Les entêtes et bas <strong>de</strong> page seront alors inclus<br />
dans le corps du classeur.<br />
Les title et footnote <strong>Sas</strong> resteront séparés.<br />
Mais un mauvais usage <strong>de</strong>s marges pour le Print<br />
Hea<strong>de</strong>r ou Footer cachera ces informations.<br />
ods path verify ;<br />
options leftmargin=2 cm;<br />
ods tagsets.ExcelXP file="d:\tabsas\xptag3.xml"<br />
options(orientation='Landscape' center_vertical="yes"<br />
Print_Hea<strong>de</strong>r_Margin="0,1in"<br />
embed<strong>de</strong>d_titles='yes' embed<strong>de</strong>d_footnotes='yes'<br />
Print_Hea<strong>de</strong>r="Ecriture directe et que se passe-t-il pour le title par défaut?"<br />
);<br />
footnote "Pied <strong>de</strong> page introduit par programmation SAS";<br />
proc print data=sashelp.class;<br />
run;<br />
ods tagsets.ExcelXP close;<br />
A notre surprise, quand dans Excel2007, on cherche à ouvrir le fichier xptag3.xml, il y a problème<br />
ERREUR XML dans Paramètres <strong>de</strong> la feuille <strong>de</strong><br />
calcul<br />
RAISON : Valeur non vali<strong>de</strong><br />
FICHIER : d:\tabsas\xptag3.xml<br />
GROUPE : PageSetup<br />
BALISE : Hea<strong>de</strong>r<br />
ATTRIB : Margin<br />
VALEUR : 3.0 cm<br />
0,1in aussi ou 2.0 ou 2.0cm etc<br />
Cela peut arriver et dans ce cas, il s’agit <strong>de</strong> comprendre ce message Excel <strong>de</strong> rejet d’une partie du co<strong>de</strong> Xml.<br />
INED Wielki 172