By
using the SAS formats publishing macro, you can generate a SAS_PUT() function that enables you to execute PUT function calls
inside the database. You can reference the formats that SAS supplies
and most custom formats that you create by using PROC FORMAT.
The SAS formats publishing
macro takes a SAS format catalog and publishes it to the database.
Inside the database, a SAS_PUT() function, which
emulates the PUT function, is created and registered for use in SQL
queries.