Action Principale : fmtLibCntlIn
| 1 | |
| 2 | DATA work.format_data; |
| 3 | LENGTH fmtname $8 label $20; |
| 4 | retain fmtname 'GRADE' type 'C'; |
| 5 | start='A'; |
| 6 | label='Excellent'; |
| 7 | OUTPUT; |
| 8 | start='B'; |
| 9 | label='Good'; |
| 10 | OUTPUT; |
| 11 | start='C'; |
| 12 | label='Fair'; |
| 13 | OUTPUT; |
| 14 | |
| 15 | RUN; |
| 16 | |
| 17 | PROC CASUTIL; |
| 18 | load |
| 19 | DATA=work.format_data outcaslib="CASUSER" casout="my_cntl_table" replace; |
| 20 | |
| 21 | RUN; |
| 22 |