METADATA Procedure

Example 6: VERBOSE Argument

Features:

VERBOSE= argument

IN= argument

Issue PROC METADATA with VERBOSE.The VERBOSE= argument causes the preprocessed XML from the IN= argument to be written to the SAS log with the title “NOTE: Input XML.”
proc metadata
  in="<GetMetadataObjects>
		<Reposid>$METAREPOSITORY</Reposid>
		<Type>PhysicalTable</Type>
		<Objects/>
		<Ns>SAS</Ns>
		<Flags>0</Flags>
		<Options/>
		</GetMetadataObjects>"
	verbose;
run;
Here is the SAS log. If the OUT= argument had been included in the request, “NOTE: Input XML” would have been the only note in the SAS log.
123  proc metadata
124       in="<GetMetadataObjects>
125           <Reposid>$METAREPOSITORY</Reposid>
126           <Type>PhysicalTable</Type>
127           <Objects/>
128           <Ns>SAS</Ns>
129           <Flags/>
130           <Options/>
131           </GetMetadataObjects>"
132       verbose;
133  run;

NOTE: Input XML:

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

NOTE: Response XML:

<GetMetadataObjects><Reposid>A0000001.A5TJRDIT</Reposid><Type>PhysicalTable
</Type><Objects><PhysicalTable Id="A5TJRDIT.B2000001" Name="ODSSTYLE"/>
<PhysicalTable Id="A5TJRDIT.B2000003" Name="CENSUS"/><PhysicalTable Id=
"A5TJRDIT.B200000K" Name="EMPLOYEE"/><PhysicalTable Id="A5TJRDIT.B20000SX" 
Name="CENSUS"/><PhysicalTable Id="A5TJRDIT.B20000TD" Name="CENSUS"/>
<PhysicalTable Id="A5TJRDIT.B20001L8"Name="CENSUS"/></Objects><Ns>SAS</Ns>
<Flags/><Options/></GetMetadataObjects>