DMSRVVER Function

Returns the version of the DataFlux Data Management Server.

Valid in: DATA step, PROC SQL, and SCL

Syntax

DMSRVVER(host, port)

Required Arguments

host

identifies the host of the DataFlux Data Management Server. The host name can be a variable or a literal string. The literal string or the value of the variable is the URL of the server in single quotation marks.

When DataFlux Data Management Server is secured with SSL, the URL must use https instead of http (for example, https://myhost.unx.com).
Interaction If a zero-length string is entered for the host argument, then the value localhost is used.
Example
        /* Localhost is used for the host */
           dmsrvVer('', 21036);      

port

identifies the port through which the host communicates with the DataFlux Data Management Server.

Interaction If the value specified is less than or equal to 0, then port number 21036 is used with SOAP, or port number 21037 is used when using Wireline.
Example
        /* Port 21036 or 21037 is used */   
           dmsrvVer('http://myhost.unx.com', 0);        

Details

The DMSRVVER function takes two arguments, a host name and a port number. If host is not specified, the local host is used. If port is not specified, or if the value is zero or a negative number, the default port number 21036 is used.
DMSRVVER returns a string listing the version number of the integration server, designated by the host and port values.

Example: DMSRVVER Function

The following example sets the value of the version to the character string of the DataFlux Data Management Server, running on machine 'myhost' and communicating with port 19525.
version=dmsrvVer ('http://myhost.unx.com', 19525);