Contents SAS Publisher Previous Next
 

Using SAS Publisher with SAS/Warehouse Administrator

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

Installing SAS Publisher as an Add-In: PC Instructions

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

  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 after the installation is complete. If you already have a C:\ADDTOOL directory from a previous installation, delete or move all of the 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 of the 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, and then submit the code.

    CIMPORT copies all necessary files and updates the Tool Registry.

Running SAS Publisher in SAS/Warehouse Administrator

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

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

After the application starts, it functions the same as when you run the application outside SAS/Warehouse Administrator. For details about defining a package, see Publishing a Package.

After you define the package, the buttons for publishing the package become available for use. There are two publishing buttons that appear only if you use the application within SAS/Warehouse Administrator:

OK (Save Metadata)
saves the package metadata and exits the window.
Execute Publish Code
publishes the package.
Contents SAS Publisher Previous Next