Contents Publish Package Interface Previous Next

INSERT_CATALOG

Inserts a SAS catalog into a package.

Syntax

CALL INSERT_CATALOG(packageId, libname, memname, desc, nameValue, rc);

packageID
Numeric, input.
Identifies the package into which the catalog will be inserted.

libname
Numeric, input.
Names the library that contains the catalog.

memname
Character, input.
Specifies the name of the catalog.

desc
Character, input.
Describes the catalog.

nameValue
Character, input.
Identifies a list of one or more space-separated name/value pairs, each in one of the following forms:

  • name
  • name=value
  • name="value"
  • name="single value with spaces"
  • name=(value)
  • name=("value")
  • name=(value1, "value 2",... valueN)

Name/value pairs are site-specific; they are used for the purpose of filtering.

rc
Numeric, output.
Receives a return code.

Example

The following example inserts the catalog ALPHELP.PUBSUB into the PACKAGEID package.

libname  = 'alphelp';
memname = 'pubsub';
desc = 'Publication's catalog';
nameValue='';
CALL INSERT_CATALOG(packageId, libname, memname, desc, nameValue, rc);

See Also

Contents Publish Package Interface Previous Next