Publishing Framework
RETRIEVE_CATALOG
Retrieves a catalog from a package.
Syntax
CALL RETRIEVE_CATALOG(entryId, libname, memname,
rc);
- entryId
- Numeric, input.
Identifies the catalog entry.
- libname
- Character, input.
Specifies the SAS library that will contain the retrieved catalog.
- memname
- Character, input.
Names the retrieved catalog.
- rc
- Numeric, output.
Receives a return code.
Details
If the memname parameter is blank, the RETRIEVE_CATALOG CALL
routine creates the catalog 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);
|