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

Access
service library Logging properties [Table of Contents] Access service Target Interaction properties

Access Service User's Guide DirectConnect for AS/400

[-] Chapter 2 Configuring the DirectConnect Access Service Library
[-] Access service required properties

Access service required properties

These properties require site-specific values. Be sure to supply these values for your installation.

The subsection heading for these properties must appear in the service library configuration file as:

{ACS Required}

ASCIICodeset

Specifies the ASCII code set to use for conversions to and from ASCII and EBCDIC.

Syntax

ASCIICodeset=char

Range

1-255 characters

Default

No default

Values

char specifies the ASCII code set.

Comments

Unless you use a different ASCII code set to handle special characters, the ASCIICodeset value is the same as the DefaultClientCodeset value. See "DefaultClientCodeset" .

ConnectionProtocol

Specifies the protocol the access service uses to connect to the target database.

Syntax

ConnectionProtocol=lu62

Default

lu62

Values

lu62 specifies that the access service uses LU 6.2 communications to connect to the target database.

Comments

LU6.2 is the only protocol the access service uses to connect to the AS/400. Do not change the value for this property.

ConnectionSpec1

Specifies the platform-specific LU 6.2 connection information for LU 6.2 communications.

Syntax

ConnectionSpec1=char

Range

1-255 characters

Default

No default

Values

This value is platform-dependent:

Comments

The communications protocol determines the maximum acceptable length for this property value.

ConnectionSpec2

Specifies the platform-specific LU 6.2 connection information.

Syntax

ConnectionSpec2=char

Range

1-255 characters

Default

No default

Values

The value is platform-dependent:

Comments

The communications protocol determines the maximum acceptable length for this property value.

ConnectionSpec3

Specifies the SNA mode name for LU 6.2 communications.

Syntax

ConnectionSpec3=char

Range

1-255 characters

Default

No default

Values

char is the SNA mode name for LU 6.2 communications.

Comments

The communications protocol determines the maximum acceptable length for this property value.

DatabaseName

The AS/400 database name.

Syntax

DatabaseName=databasename

Range

0-255 characters

Default

No default

Values

databasename is the name of the AS/400 database.

Comments

To create the AS/400 database name, use the add relational database directory entry (ADDRDBDIRE) command, setting the remote location to *LOCAL. To query the AS/400 database name, use the WRKRDBDIRE command. For more information, see the appropriate AS/400 documentation.

DefaultClientCodeset

Specifies the Coded Character Set Identifier (CCSID) or code set the client application uses when sending information to the access service.

Syntax

DefaultClientCodeset=clientcodeset

Range

1-255 characters

Default

OpenServerDefault

Values

To operate correctly, the access service requires a DefaultClientCodeset value that accurately reflects the code set of the client application.

Enter one of the following as the DefaultClientCodeset value:

Comments

DefaultTargetCodeset

Specifies the target CCSID or code set the access service uses to convert characters when it sends data to the target database.

Syntax

DefaultTargetCodeset=targetcodeset

Range

1-255 characters

Default

No default

Values

The DefaultTargetCodeset value should match the effective CCSID of AS/400 users, defined by the QCCSID system value, unless the CCSID of a specific user profile overrides it.

For information about CCSIDs, see the AS/400 DB2/400 SQL Reference and the IBM National Language Design Guide, Vol. 2.

Comments

Examples

For single-byte language machines:

For mixed-byte language machines:

EBCDICCodeset

Specifies the EBCDIC code set to use for conversions to and from ASCII and EBCDIC.

Syntax

EBCDICCodeset=char

Range

1-255 characters

Default

No default

Values

char specifies the EBCDIC code set.

Comments

Use CCSID 500 for the EBCDIC code set value unless your client application requires a different EBCDIC code set to handle special characters.

TPName

The transaction program name of the DRDA Application Server on the AS/400.

Syntax

TPName=\x7F6DB

Range

1-16 characters

Default

\x7F6DB

Values

\x7F6DB is the transaction program name of the DRDA Application Server on the AS/400.

Warning!

Do not change the default value of this property.


Access
service library Logging properties [Table of Contents] Access service Target Interaction properties