Action Principale : fmtLibCntlIn
| 1 | PROC FORMAT; |
| 2 | value $pays_fmt 'FR'='France' 'US'='États-Unis' 'DE'='Allemagne'; |
| 3 | value note_fmt low-<10='Insuffisant' 10-15='Moyen' 15-high='Bon'; |
| 4 | RUN; |
| 5 | |
| 6 | /* Exportation vers une table de contrôle */ |
| 7 | PROC FORMAT cntlout=work.fmt_cntl; |
| 8 | RUN; |
| 9 | |
| 10 | /* Chargement dans la CASLIB 'casuser' */ |
| 11 | PROC CASUTIL; |
| 12 | load DATA=work.fmt_cntl casout="table_formats" outcaslib="casuser" replace; |
| 13 | RUN; |