Scénario de test & Cas d'usage
Simulation of a customer leads dataset.
| 1 | |
| 2 | DATA work.marketing_leads; |
| 3 | DO i=1 to 50; |
| 4 | customer_id=i; |
| 5 | score=rand('Uniform'); |
| 6 | OUTPUT; |
| 7 | END; |
| 8 | |
| 9 | RUN; |
| 10 |
| 1 | PROC CAS; |
| 2 | upload path="work.marketing_leads" casout={name="leads", replace=true}; |
| 3 | TABLE.tableInfo TABLE="leads"; |
| 4 | RUN; |
| 1 | PROC CAS; |
| 2 | SESSION.endSession; |
| 3 | RUN; |
The CAS session terminates successfully without errors. The logs indicate the end of the session, ensuring resources are freed for subsequent processes.