?> ¿Es posible crear formatos específicos para una ... - Aide
QUESTION / RÉPONSE

¿Es posible crear formatos específicos para una región o idioma?

0 consultations

Réponse

Sí, el parámetro `locale` permite especificar la configuración regional (por ejemplo, 'en_US' o 'fr_FR') para asociarla con el formato, lo que es útil para formatos dependientes del idioma.
Action technique liée

Voir la documentation de addFormat

Voir l'Action
Thématiques

Voir aussi

addFmtLib
sessionProp

L'action `addFmtLib` est une action de la catégorie 'Session Properties' dans SAS Viya. Elle permet d'ajouter une bibliothèque de formats définie par l'utilisateur à la session CAS active. Cette bibliothèque peut être vide et créée à la volée, ou provenir d'une table de contrôle de formats (créée par PROC FORMAT) préalablement chargée dans CAS. Une fois ajoutée, les formats de cette bibliothèque peuvent être utilisés pour formater les valeurs des variables dans les tables CAS lors des analyses et des affichages de résultats.

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.

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.