SAS Institute. The Power to Know

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

Previous Page | Next Page

Publishing Packages

RETRIEVE_CATALOG



Retrieves a catalog from a package
Syntax
Arguments
Details

Syntax

CALL RETRIEVE_CATALOG(entryId, libname, memname, rc);

Arguments

entryId

identifies the catalog entry.

Type: Numeric
Direction: Input
libname

specifies the SAS library that will contain the retrieved catalog.

Type: Character
Direction: Input
memname

names the retrieved catalog.

Type: Character
Direction: Input
rc

receives a return code.

Type: Numeric
Direction: Output

Details

If the memname parameter is blank, then the RETRIEVE_CATALOG CALL routine creates the catalog by using the original member name as it was defined at publish time.

The following example retrieves a catalog from the package and creates the catalog WORK.TMPCAT.

lib = 'work';
mem = 'tmpcat';
CALL RETRIEVE_CATALOG(entryId, lib, mem, rc);

Previous Page | Next Page | Top of Page