The
%INDAC_PUBLISH_FORMATS macro produces a format
file for each user-defined format in the format catalog. These files
are inserted 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). The naming convention for the file is
sasput_type_fmtname.xml
,
where
type is the format data
type (N for numeric formats or C for character formats), and
fmtname is
the format name.
There are three ways
to see the format files that are created:
-
You can log on to the database
using the Aster
nCluster command
line processor and submit an SQL statement. The following example
assumes that three format files were created in Aster
nCluster
4.6.
>act -h hostname -u username -w password -d databasename -s schemaname
>select name from schemaname.nc_user_installed_files where name like 'sasput_%';
All the format files
are listed:
name
-------------------------
sasput_n_dinar.xml
sasput_n_ruble.xml
sasput_c_lowcase.xml
-
From SAS, you can use SQL procedure
code that produces output in the LST file.
proc sql noerrorstop;
connect to aster (user=username password=password dsn=dsnname schema=schemaname);
select *
from connection to aster
(select filename, fileowner, uploadtime
from schemaname.nc_user_installed_files where
filename like 'sasput_%');
disconnect from aster;
quit;
You can also use the
SASTRACE and SASTRACELOC system options to generate tracing information.
For more information about these system options, see the
SAS System Options: Reference.
-
You can look at the SAS log. A
message that indicates whether the format files are successfully or
not successfully created is printed to the SAS log.