Previous Page | Next Page

METADATA Procedure

Example 2: Simple Request for Server Status


Procedure features:

IN= argument


This PROC METADATA example queries the metadata server for its status information. The procedure uses the Status method in the IServer class in the SAS Open Metadata Interface. You can also submit the STATUS action with PROC METAOPERATE.


Program

 Note about code
proc metadata
   in='<Status>
         <Metadata>
         </Metadata>
       </Status>';
run;

SAS Log

NOTE: Response XML:

<Status><Metadata><ModelVersion>8.01/<ModelVersion>
<PlatformVersion>9.2.0.0</PlatformVersion>
<ServerState>ONLINE</ServerState><PauseComment/></Metadata></Status>

Previous Page | Next Page | Top of Page