INF: Configuring Data Sources for the Microsoft OLE DB Provider for AS/400 and VSAMID: Q219077
|
This article provides information on the following topics:
Overview of the Microsoft OLE DB Provider for AS/400 and VSAM
OLE DB Data Links
Adding or Configuring a Data Link
Browsing OLE DB Data Sources
Configuring Data Links
Data Source: The data source is an optional parameter that can be used to describe the data source. When the Data Links configuration program is loaded from the SNA Server program folder, the Data Source field is required. This field is used to name the UDL file, which is stored in the Program Files\Common Files\System\OLE DB\Data directory.The Connection tab also includes a Test Connection button that can be used to test the connection parameters. The connection can only be tested after all of the required parameters are entered. When you click this button, a session is established to the host computer using OLE DB Provider for AS/400 and VSAM.
Location: The remote database name required for connecting to OS/400 systems. This parameter is not used when connecting to a mainframe system. In OS/400, this property is referred to as RDBNAM. The RDBNAM value can be determined by invoking the WRKRDBDIRE command from the console to the OS/400 system. If there is no RDBNAM value, then one can be created using the Add option.
User name: A valid user name is normally required to access data sources on a host computer.
Password: A valid password is normally required to access data sources on a host computer. Optionally, you can choose to save the password in the UDL file by selecting the Allow saving password check box.
WARNING: This option persists the authentication information in plain text within the UDL file.
Access permissions: The mode property is used to set the access permissions on the data source object. As implemented by the OLE DB Provider for AS/400 and VSAM, the mode applies to host file locks; it does not apply to record locks. The default mode for the OLE DB Provider for AS/400 and VSAM is ReadWrite.The All tab allows you to configure additional properties used to connect to a data source. Some of the properties in the All tab are required. These properties can be edited by selecting a property from the displayed list, and clicking Edit Value. For Microsoft OLE DB Provider for AS/400 and VSAM, these properties include the following values:
Connection Timeout: The amount of time (in seconds) to wait for initialization to complete. This parameter is not currently supported by the OLE DB Provider and defaults to 0.
Impersonation Level: The level of impersonation that the server is allowed to use when impersonating the client. The provider default value is Impersonate.
Protection Level: The OLE DB Provider for AS/400 and VSAM does not support this value.
APPC Local LU Alias: The name of the local LU alias configured in the SNA server.
APPC Mode Name:The APPC mode that must be set to a value that matches the host configuration and SNA server configuration. Legal values for the APPC mode include QPCSUPP (common system default), #INTER (interactive), #INTERSC (interactive with minimal routing security), #BATCH (batch), #BATCHSC (batch with minimal routing security), and custom modes. The following modes that support bi-directional LZ89 compression are also legal: #INTERC (interactive), INTERCS (interactive), BATCHC (batch), and BATCHCS (batch).
APPC Remote LU Alias: The name of the remote LU alias configured in the SNA server.
Cache Authentication: The provider's data source object or enumerator is allowed to cache sensitive authentication information such as a password in an internal cache. The default for this property is False.
Default Library: The default AS/400 library to be accessed. This parameter is not required for mainframe access and is optional when connecting to AS/400 files.
Encrypt Password: The OLE DB Provider for AS/400 and VSAM does not support this value.
Extended Properties: A method to specify additional provider-specific properties. Properties passed using this parameter should be delimited by semicolons and will be interpreted by the provider's underlying network client.
Host CCSID: The character code set identifier (CCSID) matching the data as represented on the host computer. This parameter defaults to U.S./Canada (37). The CCSID property is required when processing binary data as character data. Unless the Process Binary as Character value is set, character data is converted based on the host column CCSID and default ANSI code page.
Host Column Description File: The fully qualified file name of the DDM host column description (HCD) file, for example: C:\Program Files\SNA\System\Sample.hcd. This parameter can be a UNC string up to 256 characters. This property is required when connecting to a mainframe system and is optional when connecting to OS/400.
Impersonation Level: The level of impersonation that the server is allowed to use when impersonating the client. The provider default value is Impersonate.
Integrated Security: The OLE DB Provider for AS/400 and VSAM does not support this value.
Locale Identifier: The OLE DB Provider for AS/400 and VSAM does not use this value.
Mask Password: The OLE DB Provider for AS/400 and VSAM does not support this value.
Network Address: This property is used to locate the target host computer, specifically the TCP/IP address or TCP/IP host name/alias associated with the DDM port. The network address is required when connecting using TCP/IP.
Network Port: This property is used to locate the target DDM service access port when connecting using TCP/IP. The default is the well-known DDM port address of 446.
Network Transport Library: The network transport dynamic link library property designates whether the provider connects with SNA LU6.2 or TCP/IP. The default value is SNA. If TCP/IP is selected, then values for Network Address and Network Port are required. If the default SNA is selected, then values for APPC Local LU Alias, APPC Mode Name, and APPC Remote LU Alias are required. TCP/IP connectivity to the mainframe is not supported.
PC Code Page: This property is required when processing binary data as character data. Unless the Process Binary as Character value is set, character data is converted based on the default ANSI code page configured in Windows. This parameter defaults to Latin 1 (1252).
Persist Security Info: Optionally, you can choose to save the password in the UDL file by selecting the Allow saving password check box.
WARNING: This option persists the authentication information in plain text within the UDL file.
Process Binary as Character: This option treats binary (CCSID 65535) data type fields as character data type fields on a per-data source basis. The Host CCSID and PC Code Page values are required input and output parameters.
Protection Level: The OLE DB Provider for AS/400 and VSAM does not support this value.
Repair Host Keys: This property provides for repair of invalid key offsets received from OS/400 when keys have been defined using the DDS "RENAME" clause. The default value is False.
Strict Validation: The default value is False.
Additional query words: MVS OS/390 OS/400
Keywords :
Version : WINDOWS:4.0 SP2
Platform : WINDOWS
Issue type : kbinfo
Last Reviewed: April 1, 1999