Previous Page | Next Page

Using GetMetadata to Get the Properties of a Specified Metadata Object

Including Objects from Project Repositories in a Public Query

In SAS 9.2, a GetMetadata method call that requests associated objects and is issued in the foundation repository or a custom repository returns information about cross-repository references to objects in other public repositories, by default. If you have a need to include cross-repository references to objects in project repositories (for example, to determine whether any of an object's associated objects are checked out for development), you can set the OMI_DEPENDENCY_USED_BY (16384) flag in the method call. The following is an example of a GetMetadata request that gets cross-repository references to objects in project repositories:

<GetMetadata>
   <Metadata>
     <PhysicalTable Id="A53TPPVI.A4000001" Name="Sales Offices"/>
   </Metadata>
   <NS>SAS</NS>
   <!-- OMI_ALL (1) + OMI_DEPENDENCY_USED_BY (16384)
    + OMI_SUCCINCT (2048) flags --> 
   <Flags>18433</Flags>
   <Options/>
</GetMetadata>

In the request, note the following:

Previous Page | Next Page | Top of Page