?>Array ( [lang] => de [id] => 191 )
Scénario de test & Cas d'usage
Erstellt drei separate Caslibs, die die Entwicklungs-, Test- und Produktionsumgebungen für Aktionssets repräsentieren.
| 1 | caslib devActions datasource=(srctype='path') path='/as/dev'; |
| 2 | caslib testActions datasource=(srctype='path') path='/as/test'; |
| 3 | caslib prodActions datasource=(srctype='path') path='/as/prod'; |
| 1 | PROC CAS; |
| 2 | caslib devActions datasource=(srctype='path') path='/as/dev'; |
| 3 | caslib testActions datasource=(srctype='path') path='/as/test'; |
| 4 | caslib prodActions datasource=(srctype='path') path='/as/prod'; |
| 5 | RUN; |
| 1 | PROC CAS; |
| 2 | BUILTINS.addUserActionSetPath caslib='devActions'; |
| 3 | BUILTINS.addUserActionSetPath caslib='testActions'; |
| 4 | BUILTINS.addUserActionSetPath caslib='prodActions'; |
| 5 | RUN; |
| 1 | PROC CAS; |
| 2 | BUILTINS.userActionSetPathInfo; |
| 3 | RUN; |
Die resultierende Tabelle von 'userActionSetPathInfo' muss Einträge für 'devActions', 'testActions' und 'prodActions' enthalten. Dies bestätigt, dass der Server mehrere benutzerdefinierte Pfade erfolgreich verwalten kann.