Scénario de test & Cas d'usage
Standard environment setup.
| 1 | cas mysess; |
| 2 | |
| 3 | PROC CAS; |
| 4 | caslib TestLib path='/tmp/test' dataSource={srcType='PATH'}; |
| 5 | |
| 6 | RUN; |
| 7 | |
| 8 | QUIT; |
| 9 |
| 1 | |
| 2 | PROC CAS; |
| 3 | TABLE.caslibInfo / caslib='TestLib' srcType='DNFS'; |
| 4 | |
| 5 | RUN; |
| 6 |
| 1 | |
| 2 | PROC CAS; |
| 3 | TABLE.caslibInfo / caslib='GhostLibrary'; |
| 4 | |
| 5 | RUN; |
| 6 |
In Step 1, the system should ignore 'srcType=DNFS' and return info for 'TestLib' (as per documentation that 'caslib' parameter takes precedence). In Step 2, the action should return a specific severity error indicating the library does not exist, allowing the wrapper to catch the exception.