Action Principale : combineFmtLibs
| 1 | PROC FORMAT; |
| 2 | value agefmt 1-12='Kind' 13-19='Teenager' 20-65='Erwachsener'; |
| 3 | value gender 1='Männlich' 2='Weiblich'; |
| 4 | RUN; |
| 5 | |
| 6 | PROC FORMAT; |
| 7 | value statusfmt 1='Aktiv' 2='Inaktiv'; |
| 8 | RUN; |
| 9 | |
| 10 | LIBNAME myfmts cas; |
| 11 | |
| 12 | PROC CASUTIL; |
| 13 | save casdata='work.formats' casout='myfmts.myfmtlib1' replace; |
| 14 | save casdata='work.formats' casout='myfmts.myfmtlib2' replace; |
| 15 | RUN; |
| 16 | |
| 17 | PROC CAS; |
| 18 | sessionProp.addFmtLib / fmtLibName='myfmtlib1' caslib='myfmts' name='myfmtlib1.sashdat'; |
| 19 | sessionProp.addFmtLib / fmtLibName='myfmtlib2' caslib='myfmts' name='myfmtlib2.sashdat'; |
| 20 | RUN; |