Previous Page | Next Page

Examples: Using Metadata Language Elements

Example: Pausing the Server for an Administration Task

The following example is copied from SAS Intelligence Platform: System Administration Guide. See that book for information about system administration.

This example uses the COMPARE procedure to compare the MDASSOC and RPOSCTRL data sets in the current and backup repository manager directories. PROC METAOPERATE pauses the metadata server temporarily while the PROC COMPARE statements complete.

options
metaserver="localhost"
metaport=8561
metauser="userID"
metapass="encoded-password"
;
/* Pause the metadata server */
proc metaoperate
     action=pause;
run;

/* Assign libraries to the physical locations in your operating environment */
libname origrpos "C:\SAS\BIserver\Lev1\SASMeta\MetadataServer\rposmgr";
libname backup "C:\SAS\BIserver\Lev1\SASMeta\MetadataServer\SASBackup\REPOSMGR";

proc compare base=origrpos.mdassoc compare=backup.mdassoc; run;
proc compare base=origrpos.rposctrl compare=backup.rposctrl; run;

/* Resume the metadata server */
proc metaoperate
     action=resume;
run;

Previous Page | Next Page | Top of Page