Scénario de test & Cas d'usage
Configuration of session properties.
Discover all actions of sessionPropCreate a massive master library with multiple formats and a small campaign library.
| 1 | PROC FORMAT casfmtlib='EntMaster'; |
| 2 | value $custSeg 'GOLD'='High Value' 'SLVR'='Mid Value' 'BRNZ'='Low Value'; |
| 3 | value $hrCode 'A'='Active' 'T'='Terminated'; |
| 4 | value $finCode 'GL1'='Credit' 'GL2'='Debit'; |
| 5 | RUN; |
| 6 | PROC FORMAT casfmtlib='CampSpec'; |
| 7 | value $campSt 'P'='Pending' 'S'='Sent'; |
| 8 | RUN; |
| 1 | PROC CAS; |
| 2 | sessionProp.combineFmtLibs / |
| 3 | fmtLibsIn={"EntMaster", "CampSpec"}, |
| 4 | fmtLibOut="TargetingFmts", |
| 5 | formatNames={"$custSeg", "$campSt"}; |
| 6 | RUN; |
The 'TargetingFmts' library is created containing ONLY '$custSeg' and '$campSt'. The '$hrCode' and '$finCode' formats are excluded, demonstrating the filtering capability.