?>
Voir la documentation de addFmtLib
La acción addFormat en SAS Viya se utiliza para añadir un nuevo formato a una biblioteca de formatos existente dentro de una sesión de CAS. Esto permite a los usuarios definir sus propios formatos personalizados para la visualización de datos, que pueden ser numéricos o de caracteres. Estos formatos se pueden aplicar a las columnas de las tablas en memoria para mejorar la legibilidad y la presentación de los resultados del análisis.
Fügt ein benutzerdefiniertes Format zu einer Formatbibliothek in einer CAS-Sitzung hinzu. Diese Aktion ist entscheidend für die Datenvisualisierung und -berichterstattung, da sie es ermöglicht, Rohdatenwerte (wie numerische Codes) in aussagekräftige, lesbare Bezeichnungen (wie 'Männlich', 'Weiblich') umzuwandeln, ohne die zugrunde liegenden Daten zu verändern. Formate können für numerische oder Zeichenvariablen definiert werden und unterstützen auch länderspezifische Darstellungen.
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.