Action Principale : addFmtLib
| 1 | LIBNAME mycas cas; |
| 2 | PROC FORMAT cntlout=work.myformatcontrol; |
| 3 | value $gender 'M'='Masculin' 'F'='Féminin'; |
| 4 | value agefmt 1-25='Jeune' 26-50='Adulte' 51-100='Senior'; |
| 5 | RUN; |
| 6 | PROC CASUTIL; |
| 7 | load DATA=work.myformatcontrol casout={name='myformatcontrol', caslib='casuser', replace=true}; |
| 8 | RUN; |