Previous Page | Next Page

METADATA Procedure

Example 6: VERBOSE Argument


Procedure features:

VERBOSE argument

IN= argument



Program

 Note about code
proc metadata 
     in="<GetMetadataObjects>
         <Reposid>$METAREPOSITORY</Reposid>
         <Type>PhysicalTable</Type>
         <Objects/>
         <Ns>SAS</Ns>
         <Flags/>
         <Options/>
         </GetMetadataObjects>" 
     verbose; 
run;

SAS Log

The VERBOSE argument returns the preprocessed input XML, which includes the repository identifier referenced by $METAREPOSITORY. The XML output shows two objects: a table that is named INVENTORY, and another table that is named LOCATIONS.

NOTE: Input XML:

<GetMetadataObjects>    <Reposid>A0000001.A5K2EL3N</Reposid>
<Type>PhysicalTable</Type>    <Objects/>    <Ns>SAS</Ns>    <Flags/>
<Options/>    </GetMetadataObjects>

NOTE: Response XML:

<GetMetadataObjects><Reposid>A0000001.A5K2EL3N</Reposid><Type>PhysicalTable</Type>
<Objects><PhysicalTable Id="A58LNR2.AR000001" Name="INVENTORY"><PhysicalTable 
Id="A58LNR2.AR0000RT" Name="LOCATIONS"></Objects><Ns>SAS</Ns><Flags/><Options/>
</GetMetadataObjects>

Previous Page | Next Page | Top of Page