METADATA_VERSION Function

Returns the metadata server's model version number.

Syntax

ver = METADATA_VERSION();

Return Values

ver
Metadata server model version number.
-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_;
   ver=metadata_version();
   put ver=;
run;