Type : CREATION_INTERNE
Le script n'accède à aucune table de données externe. Il initialise uniquement des variables macro et définit des éléments de style.
| 1 | %let data_path = &folder_path./ |
| 2 | DATA; |
| 3 | %let production_path = &folder_path./production; |
| 4 | %let outpath = &production_path./OUTPUT; |
| 5 |
| 1 | %let currMonthYear = %sysfunc(today(), YYMM.); |
| 2 | %put &=currMonthYear; |
| 3 | %let currDate = %sysfunc(today(), WEEKDATE.); |
| 4 | %put &=currDate; |
| 1 | %let sasBlue = CX0766D1; |
| 2 | /* ... autres définitions de couleurs ... */ |
| 3 | %let ws_title_text = 20pt; |
| 4 | %let titleFmt = height=16pt justify=left color=&sasDarkBlue; |
| 1 | %macro worksheet_title(title_string); |
| 2 | PROC ODSTEXT; |
| 3 | p &title_string / style = [color = &sasDarkBlue |
| 4 | fontsize = &ws_title_text |
| 5 | tagattr = 'mergeacross:5']; |
| 6 | QUIT; |
| 7 | %mend; |