Previous Page | Next Page

METADATA Procedure

Example 8: Request the Metadata for One Type of Object


Procedure features:

IN= argument

Other features:

<XMLSelect> element



Program

 Note about code
filename myinput temp lrecl=256;
filename myoutput "C:\results.xml" lrecl=256;

data _null_;
   file myinput;
   input;
   put _infile_ ' ';
   datalines;
<GetMetadataObjects>
 <Reposid>A0000001.A57DQR88</Reposid>
 <Type>Transformation</Type>
 <Objects/>
 <NS>SAS</NS>
 <Flags>401</Flags>
 <Options>
  <XMLSelect search="Transformation[@TransformRole='InformationMap']"/>
 </Options>
</GetMetadataObjects>
;;
run;

proc metadata
   in=myinput	
   out=myoutput;
run;

Previous Page | Next Page | Top of Page