In this section: |
Configuring the adapter consists of specifying connection and authentication information for each of the connections you want to establish.
How to: Reference: |
In order to connect to NATURAL, the adapter requires connection and authentication information. You supply this information using the SET CONNECTION_ATTRIBUTES command. You can:
You can declare connections to more than one data source by including multiple SET CONNECTION_ATTRIBUTES commands. The actual connection to NATURAL takes place when the first query that references that connection is issued. If you issue multiple SET CONNECTION_ATTRIBUTES commands:
You can configure the adapter from either the Web Console or the Data Management Console.
or
From the Data Management Console, expand the Adapters folder.
The Adapters folder opens.
The Add Adapter to Configuration pane opens.
The NATURAL Batch adapter is under the Procedures group folder
The following list describes the connection attributes for which you can supply values. To complete the attribute declaration, click the Configure button.
Logical name used to identify this particular set of connection attributes. The default is CON01.
Is the name of the NATURAL driver. This required value is installation dependent.
There are three methods by which a user can be authenticated when connecting to a database server:
Is the password associated with the user name. This field is only displayed when the security mode of the server is non-trusted.
NATURAL session dynamic parameters (system specific). These parameters are required:
See your Natural Reference documentation for details.
On USS platforms, these parameters are usually provided in the DDCARD DD statement. They include four parameters: database number, device type, SVC number, and MODE. See the Software AG documentation for details.
Select a profile from the drop-down menu to indicate the level of profile in which to store the CONNECTION_ATTRIBUTES command. The global profile, edasprof.prf, is the default.
If you wish to create a new profile, either a user profile (user.prf) or a group profile if available on your platform (using the appropriate naming convention), choose New Profile from the drop-down menu and enter a name in the Profile Name field (the extension is added automatically).
Store the connection attributes in the server profile (edasprof).
Explicit authentication. The user ID and password are explicitly specified for each connection and passed to NATURAL, at connection time, for authentication.
ENGINE NATB SET CONNECTION_ATTRIBUTES [connection]/userid,password: "parameters_list"
Password passthru authentication. The user ID and password are explicitly specified for each connection and passed to NATURAL CICS, at connection time, for authentication.
ENGINE NATB SET CONNECTION_ATTRIBUTES [connection]/: "parameters_list"
Trusted. The adapter connects to NATURAL as an operating system login using the credentials of the operating system user impersonated by the server data access agent.
ENGINE NATB SET CONNECTION_ATTRIBUTES [connection]/,: "parameters_list"
where:
Indicates the adapter. You can omit this value if you previously issued the SET SQLENGINE command.
Is a logical name used to identify this particular set of connection attributes. In the Access File, it becomes the CONNECTION=connection_name value. For details, see Access File Attributes.
Is the primary authorization ID by which you are known to the Adapter for NATURAL.
Is the password associated with the primary authorization ID.
The following parameters are supported (some optional and some required):
natnuc_name is the name of the NATURAL driver. This required parameter is NATURAL installation dependent.
natuser_id is the userid for NATURAL security. This parameter is optional.
natpwsd_pswd is the password for NATURAL security. This parameter is optional.
'natparm_value' is the NATURAL session dynamic parameters (system specific). These parameters are required. For details, see System-Specific Usage Notes.
'adaparm_value' is applicable only on USS platforms, ADABAS session parameters, usually provided in the DDCARD DD statement, include four parameters: database#, device type, SVC#, and MODE. See the Software AG documentation for details.
In addition, a list of parameters may provide the name of the NATURAL parameter file in the form PARM=filename. The PARM parameter is mandatory if the file name is different from natparm. The parameter file is created and maintained by the SAG provided program natparm, as described in Preparing the NATURAL Environment.
Windows:
ENGINE NATB SET CONNECTION_ATTRIBUTES CON3 /,: "NATNUC natural NATPARM 'PARM=IWAYPARM'"
UNIX:
ENGINE NATB SET CONNECTION_ATTRIBUTES CON3 /,: "NATNUC natural NATPARM 'PARM=IWAYPARM BP=NATBP'"
z/OS:
ENGINE NATB SET CONNECTION_ATTRIBUTES CON3 /,: "NATNUC NAT314BA NATPARM 'FDIC=(,21),INTENS=1' ADAPARM 'ADARUN DB=003,DE=3390,SVC=240,MODE=MULTI'"
iWay Software |