Lists all components that are defined in the metadata API
Category: |
Management Methods
|
CALL SEND(i_api, '_GET_COMPONENTS_', l_rc, l_components);
|
Parameter |
Type |
Description |
i_api |
Class |
specifies the passed instance of the METAAPI.CLASS.
See Using the Metadata API Class. |
l_rc |
N |
specifies the return codes for the method. A nonzero
code indicates failure and means that l_rc is an error list identifier.
For the error list format, see Conventions. |
l_components |
L |
specifies the returned list of all components that are
defined in the metadata API. List format: comp_id=comp_name.
Components are discussed in How the Metadata API Works. |
A component is a group
of related metadata types. One use for the _GET_COMPONENTS_ method is to get
a component ID that you can pass to the _GET_TYPES_ method in order to list
the metadata types for a particular component.
call send(i_api,'_GET_COMPONENTS_',l_rc,
l_components);
/* A list of components is returned. */
l_components(
WHOUSE=SAS/Warehouse Administrator
)[3]
_GET_TYPES_
Copyright © 2012 by SAS Institute Inc., Cary, NC, USA. All rights reserved.