SAS 9.1.3 Integration Technologies » Developer's Guide


Developing Windows Clients
Client Requirements
Client Installation
Security
Selecting a Windows Programming Language
Programming with Visual Basic
Programming in the .NET Environment
Using VBScript
Programming with Visual C++
Using the Object Manager
Creating an Object
Object Manager Interfaces
Using a Metadata Server with the Object Manager
Metadata Configuration Files
Error Reporting
Code Samples
Using Connection Pooling
Choosing Integration Technologies or COM+ Pooling
Using Integration Technologies Pooling
Using Com+ Pooling
Pooling Samples
Using the IOM Data Provider
Using the Workspace Manager
Class Documentation
Windows Clients

Metadata Configuration Files

Metadata configuration files contain information about how to access the metadata server (SAS Metadata Server or LDAP server).

You can create metadata configuration files in three ways:

  • using the METACON command in SAS
  • using the SAS Integration Technologies configuration utility (ITConfig)
  • using the WriteConfigFile method

You can generate two types of metadata configuration files—a system configuration file and a user configuration file. COM connections only use the system configuration file (any user information is ignored). IOM Bridge connections can use both the system and user configuration files.

The system configuration file contains information about how to access the metadata server and might also contain user and password information for connecting to the metadata server. The user configuration file contains user and password information for connecting to the metadata server. ITConfig enables you to create user configuration files so that each user can have a specific login configuration.

Creating Metadata Configuration Files to Access the SAS Metadata Server

Use one of the methods previously listed to generate the metadata configuration file(s). For the SAS Metadata Server, the system configuration file contains the following connection information:

  • port
  • machine
  • encryption
  • repository name

Note: You can also specify the user identity (user name, password, domain) in the system configuration file. However, if a user configuration file is specified, the user configuration file overrides the user in the system configuration file.

Note: The METACON command does not create user configuration files. The METACON command stores user information and system information in the same configuration file.

The user configuration file can contain the following user identity information for connecting to the metadata server:

  • user name
  • password
  • domain

For more information about using the ITConfig utility to generate metadata configuration files, see the ITConfig utility Help or refer to Using ITConfig with COM Connections or Using ITConfig with IOM Bridge Connections in the SAS Integration Technologies: Server Administrator's Guide.

For more information about using the METACON command to generate metadata configuration files, see Creating a Metadata Config File in SAS (COM) or Creating a Metadata Config File in SAS (IOM Bridge) in the SAS Integration Technologies: Server Administrator's Guide.

For more information about using WriteConfigFile, see the SAS Object Manager reference (sasoman.chm).

Creating Metadata Configuration Files to Access the LDAP Server

Use the ITConfig utility or the WriteConfigFile method to generate the metadata file(s). For LDAP servers, the system configuration file contains the following connection information:

  • port
  • machine
  • base distinguished name

Note: You can also specify the user identity (user name, password) in the system configuration file. However, if a user configuration file is specified, the user configuration file overrides the user in the system configuration file.

The user configuration file can contain the following user identity information for connecting to the metadata server:

  • user name
  • password

For more information about using the ITConfig utility to generate metadata configuration files, see the ITConfig utility Help or refer to Using the IT Configuration Application with COM Connections or Using the IT Configuration Application with IOM Bridge Connections in the SAS Integration Technologies: Administrator's Guide (LDAP Version).

For more information about WriteConfigFile, see the SAS Object Manager reference documentation (sasoman.chm).