METAPROFILE System Option

Identifies the XML document that contains user connection profiles for the metadata server.
Valid in: configuration file, SAS invocation
Category: Communications: Metadata
PROC OPTIONS GROUP= META
Default: metaprofile.xml in the current working directory, except under z/OS
See: METAPROFILE System Option in SAS Companion for z/OS

Syntax

METAPROFILE "XML-document"

Syntax Description

"XML–document"
is the pathname of the XML document that contains user connection profiles for connecting to the metadata server. The pathname is the physical location that is recognized by the operating environment. The maximum length is 32,000 characters. Quotation marks are required.

Details

This system option is one of a category of system options that define a connection to the metadata server. Instead of specifying individual connection options for the metadata server, you can use the METACONNECT= and METAPROFILE options.
METAPROFILE must be specified at SAS invocation or in a configuration file. It specifies the pathname of an XML document that contains connection profiles. METACONNECT= can be submitted at any time. It specifies one named connection profile in the XML document. A connection profile contains metadata server connection properties, such as the name of the host computer on which the metadata server is invoked, the TCP port, and the user ID and password of the requesting user.
You can create connection profiles with the Metadata Server Connections dialog box. Open the dialog box by executing the SAS windowing environment command METACON. The dialog box enables you to save (export) one or more connection profiles to a permanent XML document. To learn more about the METACON command, open the online Help and in the SAS windowing environment.
The connection profiles are similar to the ones that are used by SAS Management Console. However, SAS Management Console stores its connection profiles in a different way.
METAPROFILE behavior is different under z/OS than under other operating environments. See SAS Companion for z/OS.
Operating Environment Information: In a configuration file or at SAS invocation, the syntax for SAS system options is specific to your operating environment. For more information, see the SAS documentation for your operating environment.

Comparisons

Here is a configuration file example that invokes a user connection profile named Mike's profile from the metauser.xml file:
-METAPROFILE "!SASROOT\metauser.xml"
-METACONNECT "Mike's profile"