METADATA_PAUSED Function

Determines whether the server specified by the METASERVER system option is paused.

Syntax

rc = METADATA_PAUSED();

Return Values

0
Server is not paused.
1
Server is paused.
-1
Unable to connect to the metadata server.

Example

options metaserver="a123.us.company.com"
	metaport=8561
	metauser="myid"
	metapass="mypassword"
	metarepository="myrepos";

data _null_;
   rc=metadata_paused();
   if rc eq 0 then put 'server is not paused';
   else if rc eq 1 then put 'server is paused';
run;