SAS Institute. The Power to Know

SAS(R) 9.2 Publishing Framework: Developer's Guide

Previous Page | Next Page

Publishing Packages

INSERT_CATALOG



Inserts a SAS catalog into a package
Syntax
Arguments
Example

Syntax

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

Arguments

packageID

identifies the package into which the catalog will be inserted.

Type: Numeric
Direction: Input
libname

names the library that contains the catalog.

Type: Numeric
Direction: Input
memname

specifies the name of the catalog.

Type: Character
Direction: Input
desc

describes the catalog.

Type: Character
Direction: Input
nameValue

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. See filtering.

Type: Character
Direction: Input
rc

receives a return code.

Type: Numeric
Direction: Output

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);

Previous Page | Next Page | Top of Page