Scénario de test & Cas d'usage
Configuration of session properties.
Discover all actions of sessionPropCreate a source library that deliberately misses one of the formats that will be requested.
| 1 | PROC FORMAT casfmtlib='LegacySource'; |
| 2 | value $ExistingFmt '1'='One' '2'='Two'; |
| 3 | /* Note: $OldGeo is deliberately NOT created here */ |
| 4 | RUN; |
| 1 | PROC CAS; |
| 2 | sessionProp.combineFmtLibs / |
| 3 | fmtLibsIn={"LegacySource"}, |
| 4 | fmtLibOut="InterfaceLib", |
| 5 | formatNames={"$ExistingFmt", "$OldGeo"}, |
| 6 | ignoreNameNotFound=TRUE; |
| 7 | RUN; |
| 1 | PROC CAS; |
| 2 | /* Check existence of the output library */ |
| 3 | sessionProp.listFmtLibs fmtLibName="InterfaceLib"; |
| 4 | RUN; |
The action returns a success status (or warning, but not a fatal error). The 'InterfaceLib' is created containing '$ExistingFmt'. The missing '$OldGeo' is ignored as requested, allowing the pipeline to continue.