Previous Page | Next Page

Metadata API Class

_GET_COMPONENTS_



Lists all components that are defined in the metadata API
Category: Management Methods

Syntax
Parameters
Using _GET_COMPONENTS_
Example: List All Components Defined for the Metadata API
See Also

Syntax

CALL SEND(i_api, '_GET_COMPONENTS_', l_rc, l_components);

Parameters

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.


Using _GET_COMPONENTS_

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.


Example: List All Components Defined for the Metadata API

call send(i_api,'_GET_COMPONENTS_',l_rc,
l_components);

   /* A list of components is returned. */ 
l_components(
   WHOUSE=SAS/Warehouse Administrator
)[3]


See Also

_GET_TYPES_

Previous Page | Next Page | Top of Page