Contents SAS Publisher Previous Next
 

Starting SAS Publisher

SAS Publisher is supported only in UNIX, Windows, and OpenVMS Alpha operating environments.

The procedure for starting the SAS Publisher application differs depending on whether you start from a SAS session or from SAS/Warehouse Administrator.

Starting SAS Publisher from a SAS Session

To start SAS Publisher from a SAS session, at a SAS command line, type

publishpackage < pubmeta=SAS-data-set > ;

As a shortcut, you can also type the following in the command line

publish

If you previously saved a session's metadata to a specific SAS data set, you can recall it in a subsequent SAS Publisher session for continued editing. Here is an example:

publishpackage pubmeta=sasuser.code

where sasuser is the libname and code is the member name.

If either the libname or the member name does not exist (for example, because of a typographical error), SAS Publisher presents a message, such as

Member CODE does not exist. Using SASUSER.ZPUBLISH instead.

To recover, verify the libname and member name that you specified. You can restart SAS Publisher, recalling the correct libname and member name or you can accept the metadata that has been saved to SASUSER.ZPUBLISH. All metadata that is generated in a SAS Publisher session that you publish is automatically saved to SASUSER.ZPUBLISH.

Also, metadata from a subsequent SAS Publisher session overwrites the metadata that was generated in the preceding publishing session.

Starting SAS Publisher from SAS/Warehouse Administrator

To start the SAS Publisher application as an add-in from SAS/Warehouse Administrator, you must first install the application as an add-in. For details, see Using SAS Publisher with SAS/Warehouse Administrator.

After you have installed the application as an add-in, select an item in a data warehouse and select Tools -> Add-ins -> Define Package to Publish.

Contents SAS Publisher Previous Next