?>
Voir la documentation de addFormat
Adds a format library to the current CAS session. This allows user-defined formats to be used in analyses and data manipulation within CAS. Format libraries can be loaded from a caslib (as a SASHDAT file) or directly from a server path. This action is crucial for customizing data representation and reporting in Viya.
The `addFormat` action is a powerful tool within the `sessionProp` action set. It allows for the dynamic creation and addition of a new user-defined format to a specified format library within the current CAS session. This is particularly useful for creating custom data representations on-the-fly without needing to pre-define them in a SAS catalog. You can define simple value mappings or complex ranges, and even create picture formats for detailed numeric formatting. The created formats are immediately available for use in the session where they were defined.
Ajoute un format à une bibliothèque de formats. Les formats permettent de contrôler la manière dont les valeurs des variables sont affichées. Cette action est fondamentale pour personnaliser les sorties de données, améliorer la lisibilité des rapports et préparer les données pour l'analyse.