13.07.2015 Views

SAS/ACCESS 9.2 for Relational Databases: Reference, Fourth Edition

SAS/ACCESS 9.2 for Relational Databases: Reference, Fourth Edition

SAS/ACCESS 9.2 for Relational Databases: Reference, Fourth Edition

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

818 How It Works 4 Chapter 28Figure 28.1Process Flow DiagramClient ApplicationPublishing ClientPROC FORMAT5<strong>SAS</strong>FormatPublishingMacros<strong>SAS</strong>/<strong>ACCESS</strong>Interfaces2FormatCatalog<strong>SAS</strong>ProceduresEnabled<strong>for</strong> In-DatabaseProcessing<strong>SAS</strong>/<strong>ACCESS</strong>Interfaces34DBMS<strong>SAS</strong>_PUT()FunctionDeployedComponents<strong>for</strong> In-DatabaseProcessing1InstallScriptHere is the basic process flow.u Install the components that are necessary <strong>for</strong> in–database processing in theTeradata EDW.Note: This is a one-time installation process. 4For more in<strong>for</strong>mation, see “Deployed Components <strong>for</strong> In–Database Processing”on page 819.v If necessary, create your custom <strong>for</strong>mats by using PROC FORMAT and create apermanent catalog by using the LIBRARY= option.For more in<strong>for</strong>mation, see “User-Defined Formats in the Teradata EDW” onpage 819 and the FORMAT procedure in the Base <strong>SAS</strong> Procedures Guide.w Start <strong>SAS</strong> <strong>9.2</strong> and run the %INDTD_PUBLISH_FORMATS macro. This macrocreates the files that are needed to build the <strong>SAS</strong>_PUT( ) function and publishesthose files to the Teradata EDW.For more in<strong>for</strong>mation, see “Publishing <strong>SAS</strong> Formats” on page 821.x After the %INDTD_PUBLISH_FORMATS macro creates the script, <strong>SAS</strong>/<strong>ACCESS</strong>Interface to Teradata executes the script and publishes the files to the TeradataEDW.For more in<strong>for</strong>mation, see “Publishing <strong>SAS</strong> Formats” on page 821.y Teradata compiles the .c and .h files and creates the <strong>SAS</strong>_PUT( ) function. The<strong>SAS</strong>_PUT( ) function is available to use in any SQL expression and to use typicallywherever you use Teradata built-in functions.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!