?> Quel est le but de l'action `addFormat` dans SAS V... - Aide
QUESTION / RÉPONSE

Quel est le but de l'action `addFormat` dans SAS Viya?

0 consultations

Réponse

L'action `addFormat` est utilisée pour ajouter un format à une bibliothèque de formats existante dans une session CAS.
Action technique liée

Voir la documentation de addFormat

Voir l'Action
Thématiques

Voir aussi

addFormat
sessionProp

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.

addFormat
sessionProp

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.

addFmtLib
sessionProp

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.