SAS 9.1.3 Integration Technologies » Developer's Guide


SAS Publisher
Requirements
How SAS Publisher Works
Starting SAS Publisher
Publishing a Package
Defining Package Content
Specifying Package Destination
Specifying Package Format
Using SAS Publisher with SAS/Warehouse Administrator
Publishing Framework

Using SAS Publisher with SAS/Warehouse Administrator

You can install and use SAS Publisher to work as an add-in with SAS/Warehouse Administrator.

PC Instructions for Installing SAS Publisher as an Add-In

Before you can use SAS Publisher from within SAS/Warehouse Administrator, you must install SAS Publisher as an add-in. If you are using a PC, follow these steps:

  1. Create an ADDTOOL directory on your C: drive. This is a temporary directory that is used during the installation process. You can delete it once installation completes. If you already have a C:\ADDTOOL directory from a previous installation, delete or move all files in this directory before continuing.
  2. Download and save the ZPUBSUB.EXE file into the C:\ADDTOOL directory. This is a self-extracting archive that creates all necessary files when you execute it. Execute the ZJPUBSB.EXE file by double-clicking it, using the Windows RUN command, or entering the filename at a DOS prompt.
  3. Start a SAS session. Make sure that you have allocated a libref for _SASWA.
  4. Within the SAS session, include the CIMPORT.SAS file from the C:\ADDTOOL directory into the Program Editor. Then submit the code. CIMPORT copies all necessary files and updates the Tool Registry.

Running SAS Publisher in SAS/Warehouse Administrator

To start SAS Publisher from within SAS/Warehouse Administrator, select an item in a warehouse, then select:

Tools-> Add-Ins-> Define Package to Publish

Once SAS Publisher starts, it works as it does
when you run it outside SAS/Warehouse Administrator. For details about defining a package, see Publishing a Package.

Once you define the package, the buttons for publishing the package become available for you to use. The following buttons appear only if you use SAS Publisher within SAS/Warehouse Administrator:

OK (Save Metadata)
saves the package metadata and exits the window.
Execute Publish Code
publishes the package.