You can
use PROC FORMAT to create user-defined formats and store them in a
format catalog. You can then use the
%INDB2_PUBLISH_FORMATS macro to export the user-defined format definitions
to the DB2 database where the SAS_PUT() function
can reference them.