Lists all currently active primary metadata repositories
Category: |
Repository Methods
|
CALL SEND(i_api, '_GET_CURRENT_REPOSITORIES_', l_rc, l_reps, <type>);
|
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 Error Codes. |
l_reps |
L |
specifies the returned list of repository IDs for the
currently active primary metadata repositories. For details about repository
IDs, see Identifying Metadata. |
type |
C |
specifies the passed repository type ID. Optional. Limits
the l_reps list to primary repositories of this type. |
-
l_reps
-
specifies the returned list of currently
active primary metadata repositories, in the format:
l_reps=(type=repository id
type=repository id
)
For details about primary and secondary repositories,
see Metadata Repositories.
-
type
-
specifies the passed repository type ID.
Optional. Limits the l_reps list to primary repositories of this
type. If a type ID is not passed, all primary repositories will be returned
(a value of _ALL_) is passed for type).
Each component has one or more metadata repository types.
See the metadata type documentation for a particular component for details.
For example, for SAS/Warehouse Administrator
metadata repository types, see
Sample Metadata API Code.
To return the list of active secondary
repositories, use the _GET_METADATA_ method with the appropriate primary repository
ID from the returned l_reps list. See the Usage notes under _GET_METADATA_
for details.
_GET_METADATA_
Copyright © 2012 by SAS Institute Inc., Cary, NC, USA. All rights reserved.