Sybase Technical Library - Product Manuals Home
[Search Forms] [Previous Section with Hits] [Next Section with Hits] [Clear Search] Expand Search

General
information [Table of Contents] How
to change property values

Access Service User's Guide DirectConnect for AS/400

[-] Chapter 2 Configuring the DirectConnect Access Service Library
[-] Configuration file

Configuration file

You create and modify access services using the access service library configuration file, a simple text file named as400.cfg. Use your text editor to change any access service property by editing and saving this configuration file. To find the location of this file within the DirectConnect directory structure, see the DirectConnect Installation Guide for Enterprise Connect IPS.

Each access service has a specific set of configuration properties. To configure an access service:

The following principles apply to properties:

Configuration file format

A service library configuration file consists of:

You can include comments. Each comment must be on a separate line and begin with a semicolon (;) or crosshatch (#) in column one.

Sample configuration file

Following is an example of an access service library configuration file:

[Service Library]
 {Logging}
 LogSvclibStatistics=60
 
 #The configuration for the first service
 [ServiceA]
 {ACS Required}
 ASCIICodeset=850
 ConnectionProtocol=lu62
 ConnectionSpec1=LOCALA
 ConnectionSpec2=BLANCO
 ConnectionSpec3=QPCSUPP
 DatabaseName=S10A0031DefaultClientCodeset=850
 DefaultTargetCodeset=500
 EBCDICCodeset=500
 TPName=\x7F6DB
 {Client Interaction}
 EnableAtStartup=yes
 {Logging}
 LogReceivedSQL=yes
 
 #The configuration for the second service
 [ServiceB]
 {ACS Required}
 ASCIICodeset=850
 ConnectionProtocol=lu62
 ConnectionSpec1=LOCALB
 ConnectionSpec2=BLANCO
 ConnectionSpec3=QPCSUPP
 DatabaseName=S10A0031DefaultClientCodeset=850
 DefaultTargetCodeset=500
 EBCDICCodeset=500
 TPName=\x7F6DB
 {Client Interaction}
 EnableAtStartup=yes
 {Datatype Conversion}
 DateTimeResults=char_iso
 {Logging}
 LogReceivedSQL=yes
 LogTransformedSQL=yes

You can create an initial access service using the template provided in the installation. The template file also provides an example of each configuration property.

For more information about installing the initial access service, see the DirectConnect Installation Guide for Enterprise Connect IPS.

Guidelines for access service names

Access service names must conform to the following rules:

Installing a sample access service

Unless you already have a set of working configuration files, you can choose to install a sample access service within the access service library configuration file. After installing the sample access service, you can modify it for your site.

For information about installing the sample access service, see the installation instructions for your platform in the DirectConnect Installation Guide for Enterprise Connect IPS.


General
information [Table of Contents] How
to change property values