Action Principale : addFmtLib
| 1 | DATA myformats_table; |
| 2 | LENGTH fmtname $32 start $50 END $50 label $500; |
| 3 | fmtname='$myfmt'; start='A'; label='Grupo A'; OUTPUT; |
| 4 | fmtname='$myfmt'; start='B'; label='Grupo B'; OUTPUT; |
| 5 | RUN; |
| 6 | |
| 7 | PROC CAS; |
| 8 | TABLE.loadTable / |
| 9 | caslib='CASUSER' |
| 10 | path='%sysfunc(pathname(work))/myformats_table.sashdat' |
| 11 | casout={name='myformats_table', caslib='CASUSER', replace=true}; |
| 12 | QUIT; |