Usage Note 15134: How to display a message instead of a return code value when using the
Publish Package Interface
A SAS Data Step that uses the Publish Package Interface may display an
unusual return code value. For example, a DATA _NULL_ step using the
PACKAGE_PUBLISH CALL routine:
CALL PACKAGE_PUBLISH(packageId, pubType, rc, properties, path, name);
put "*** RC for package_publish TO_ARCHIVE = " rc;
may display the following in the SAS Log:
*** RC for package_publish TO_ARCHIVE = -2146133969
Use the sysmsg() function to map a message to the associated return code
value. For example, after the PACKAGE_PUBLISH CALL routine add the
following:
if (rc ne 0) then do;
msg = sysmsg();
put msg;
end;
In this example, the sysmsg() function displays the message:
ERROR: Not licensed for publish/subscribe access.
SAS Integration Technologies must be installed and licensed with SAS 9
and later in order to use the Publish Package Interface.
Operating System and Release Information
| SAS System | SAS Integration Technologies | Microsoft Windows NT Workstation | 9 TS M0 | |
| Microsoft Windows Server 2003 Standard Edition | 9 TS M0 | |
| Microsoft® Windows® for 64-Bit Itanium-based Systems | 9 TS M0 | |
| Microsoft Windows Server 2003 Datacenter Edition | 9 TS M0 | |
| Microsoft Windows Server 2003 Enterprise Edition | 9 TS M0 | |
| Microsoft Windows 2000 Professional | 9 TS M0 | |
| Microsoft Windows 2000 Server | 9 TS M0 | |
| Microsoft Windows 2000 Datacenter Server | 9 TS M0 | |
| Microsoft Windows 2000 Advanced Server | 9 TS M0 | |
| 64-bit Enabled Solaris | 9 TS M0 | |
| Solaris | 9 TS M0 | |
| z/OS | 9 TS M0 | |
| Linux | 9 TS M0 | |
| 64-bit Enabled HP-UX | 9 TS M0 | |
| HP-UX | 9 TS M0 | |
| HP-UX IPF | 9 TS M0 | |
| OpenVMS Alpha | 9 TS M0 | |
| Microsoft Windows XP Professional | 9 TS M0 | |
| 64-bit Enabled AIX | 9 TS M0 | |
| Tru64 UNIX | 9 TS M0 | |
| AIX | 9 TS M0 | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
| Type: | Usage Note |
| Priority: | |
| Topic: | Third Party ==> Products ==> Message Queuing
|
| Date Modified: | 2005-05-03 16:29:48 |
| Date Created: | 2005-05-02 11:05:08 |