The
SQL/MR function is the framework for enabling execution of user-defined
functions within Aster
nCluster
through an SQL interface. A new SAS SQL/MR function, SAS_PUT( ),
supports format publishing in Aster
nCluster.
The SAS_PUT( ) function is installed as part of the in-database
deployment package. For more information, see the
SAS In-Database Products: Administrator's Guide.
The
%INDAC_PUBLISH_FORMATS macro creates the user-defined
format files that are needed by the SAS_PUT( ) function and
publishes those files to the Aster
nCluster
database.
This macro makes many
formats that SAS supplies available inside Aster
nCluster.
In addition to formats that SAS supplies, you can also publish the
PROC FORMAT definitions that are contained in a single SAS format
catalog by using the FMTCAT= option. The process of publishing a PROC
FORMAT catalog entry converts the range label pairs into embedded
data in Aster
nCluster.
The
%INDAC_PUBLISH_FORMATS macro performs the following
tasks:
-
takes the format catalog and produces
a sasput_
type_
fmtname.xml
file for each user-defined format that is in the format catalog.
-
uses the
SAS/ACCESS Interface to Aster
nCluster
to insert the format files into either the NC_INSTALLED_FILES table
under the PUBLIC schema (Aster
nCluster
4.5) or the NC_USER_INSTALLED_FILES table under a specified schema
(Aster
nCluster 4.6).
Note: Files larger than 32k are
automatically divided into 32k chunks of data and then are concatenated
back together by performing multiple updates.
Note: If there are no user-defined
formats, you do not need to run the
%INDAC_PUBLISH_FORMATS macro. The formats that SAS supplies are installed
in either the
NC_INSTALLED_FILES
table (Aster
nCluster 4.5)
or the NC_USER_INSTALLED_FILES table (Aster
nCluster
4.6) when the SAS 9.3 Formats Library for Aster
nCluster
is installed.