Action Principale : brTrain
| 1 | DATA mycas.doc_info; INFILE DATALINES delimiter=','; INPUT docid varchar(10) category varchar(10); DATALINES; |
| 2 | 1,sports |
| 3 | 2,other |
| 4 | 3,sports |
| 5 | 4,other |
| 6 | 5,sports |
| 7 | ; |
| 8 | RUN; |
| 9 | DATA mycas.term_doc; INFILE DATALINES delimiter=','; INPUT _document_ varchar(10) _termnum_ varchar(10); DATALINES; |
| 10 | 1,1 |
| 11 | 1,2 |
| 12 | 2,3 |
| 13 | 2,4 |
| 14 | 3,1 |
| 15 | 3,5 |
| 16 | 4,4 |
| 17 | 4,6 |
| 18 | 5,2 |
| 19 | 5,5 |
| 20 | ; |
| 21 | RUN; |
| 22 | DATA mycas.term_info; INFILE DATALINES delimiter=','; INPUT term_id varchar(10) term_label varchar(20); DATALINES; |
| 23 | 1,basketball |
| 24 | 2,score |
| 25 | 3,finance |
| 26 | 4,market |
| 27 | 5,game |
| 28 | 6,trade |
| 29 | ; |
| 30 | RUN; |