%indnzpf;
%let indconn = server=netezbase user=user1 password=open1
database=mydb;
%indnz_publish_formats(fmtcat= fmtlib.fmtcat);
This sequence of macros
generates .c, .cpp, and .h files for each data type. The format data
types that are supported are numeric (FLOAT, INT), character, date,
time, and timestamp (DATETIME). The
%INDNZ_PUBLISH_FORMATS macro also produces a text file of Netezza CREATE
FUNCTION commands that are similar to these:
CREATE FUNCTION sas_put(float , varchar(256))
RETURNS VARCHAR(256)
LANGUAGE CPP
PARAMETER STYLE npsgeneric
CALLED ON NULL INPUT
EXTERNAL CLASS NAME 'Csas_putn'
EXTERNAL HOST OBJECT '/tmp/tempdir_20090528T135753_616784/formal5.o_x86'
EXTERNAL NSPU OBJECT '/tmp/tempdir_20090528T135753_616784/formal5.o_diab_ppc'