|
Publishing Framework
The Interface to the Publish Package CALL Routines can be used to write a SAS program to publish a package:
-
A package and its properties are defined
using the PACKAGE_BEGIN CALL routine.
Example:
CALL PACKAGE_BEGIN(pid, desc, nameValue, rc);
-
Items are inserted in the package using an appropriate CALL routine.
CALL routines fall into two categories of item types:
Example:
Call INSERT_DATASET(pid, libname, memname, description, NameValue, rc);
-
The destination (or transport) for delivering the package is defined using the
PACKAGE_PUBLISH CALL routine.
CALL routines for supported transports are as follows:
Example:
publishType = "TO_ARCHIVE"
.
.
.
CALL PACKAGE_PUBLISH (pid, publishType, rc, properties, archivePath, archiveName);
-
The end of the package is defined using the
PACKAGE_END CALL routine.
Example:
CALL PACKAGE_END(pid, rc);
For complete details about how to use the Publish Package CALL routines to publish a package, see Publish Package Interface.
|