SQLMAPPUTTO= System Option

Specifies whether the PUT function is mapped to the SAS_PUT() function for a database, possible also where the SAS_PUT() function is mapped.

Valid in: configuration file, SAS invocation, OPTIONS statement
Category: Files: SAS Files
Default: SAS_PUT
Data source: Aster, DB2 under UNIX and PC Hosts, Greenplum, Netezza, Teradata
See: SQL_FUNCTIONS= LIBNAME option, SAS In-Database Products: User’s Guide

Syntax

Syntax Description

NONE

specifies to PROC SQL that no PUT mapping is to occur.

SAS_PUT

specifies that the PUT function be mapped to the SAS_PUT() function.

database.SAS_PUT

specifies the database name.

Tip
It is not necessary that the format definitions and the SAS_PUT() function reside in the same database as the one that contains the data that you want to format. You can use the database.SAS_PUT argument to specify the database where the format definitions and the SAS_PUT() function have been published.
Tip
The database name can be a multilevel name and it can include blanks.
Requirement If you specify a database name, you must enclose the entire argument in parentheses.

Details

The format publishing macros deploy or publish, the PUT function implementation to the database as a new function named SAS_PUT(). The format publishing macros also publish both user-defined formats and formats that SAS supplies that you create using PROC FORMAT. The SAS_PUT() function supports the use of SAS formats. You can use it in SQL queries that SAS submits to the database so that the entire SQL query can be processed inside the database. You can also use it in conjunction with in-database procedures.
You can use this option with the SQLREDUCEPUT=, SQLREDUCEPUTOBS, and SQLREDUCEPUTVALUES= system options. For more information about these options, see SAS SQL Procedure User’s Guide.