Skip Headers
Oracle® Database Gateway for IMS, VSAM, and Adabas Installation and Configuration Guide
11g Release 1 (11.1) for Microsoft Windows

B32525-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
PDF · Mobi · ePub

B Initialization Parameters

The Oracle Database initialization parameters in the init.ora file are distinct from heterogeneous services (HS) initialization parameters. Set HS parameters in the initialization parameter file using an agent-specific mechanism, or set them in the Oracle data dictionary using the DBMS_HS package.

This appendix describes the following initialization parameters:

See Also:

Oracle Database Heterogeneous Connectivity Administrator's Guide for information on other available initialization parameters and Oracle Database Error Messages for information on handling Oracle error messages.

The initialization parameter file must be available when the gateway is started. During installation, the following default HS initialization parameter file is created:

ORACLE_HOME:[dg4VSAM.admin]initdg4VSAM.ora

Where ORACLE_HOME is the device under which the gateway is installed.

B.1 Initialization Parameter File Syntax

The syntax for the initialization parameter file is as follows:

If there is a syntax error in an initialization parameter file, none of the settings take effect.

B.2 HS_DB_DOMAIN

Property Description
Default value WORLD
Range of values 1 to 199 characters

Specifies a unique network subaddress for a non-Oracle system. The HS_DB_DOMAIN initialization parameter is similar to the DB_DOMAIN initialization parameter, described in the Oracle Database Reference. The HS_DB_DOMAIN initialization parameter is required if you use the Oracle Names server. The HS_DB_NAME and HS_DB_DOMAIN initialization parameters define the global name of the non-Oracle system.

Note:

The HS-BD_Name and HS_DB_DOMAIN initialization parameters must cobine to forma unique address in a cooperative server environment.

B.3 HS_DB_INTERNAL_NAME

Property Description
Default value 01010101
Range of values 1 to 16 hexadecimal characters

Specifies a unique hexadecimal number identifying the instance to which the Heterogeneous Services agent is connected. This parameter's value is used as part of a transaction ID when global name services are activated. Specifying a nonunique number can cause problems when two-phase commit recovery actions are necessary for a transaction.

B.4 HS_DB_NAME

Property Description
Default value HO
Range of values 1 to 8 characters

Specifies a unique alphanumeric name for the data store given to the non-Oracle system. This name identifies the non-Oracle system within the cooperative server environment. The HS_DB_NAME and HS_DB_DOMAIN initialization parameters define the global name of the non-Oracle system.

B.5 HS_DESCRIBE_CACHE_HWM

Property Description
Default value 100
Range of Values 1 to 4000

Specifies the maximum number of entries in the describe cache used by Heterogeneous Services. This limit is known as the describe cache high water mark. The cache contains descriptions of the mapped tables that Heterogeneous Services reuses so that it does not have to re-access the non-Oracle data store.

If you are accessing many mapped tables, increase the high water mark to improve performance. Increasing the high water mark improves performance at the cost of memory usage.

B.6 HS_LANGUAGE

Property Description
Default value System-specific
Range of Values Any of the character sets listed in theCodepage Values table.

Provides Heterogeneous Services with character set, language, and territory information of the non-Oracle data source. The value must use the following format:

language[_territory.character_set]

Note:

The globalization support initialization parameters affect error messages, the data for the SQL Service, and parameters in distributed external procedures.

The following table describes the supported charset values.

Table B-1 Codepage Values

Value Description

AR8ISO8859P6

Arabic bilingual

AR8ISO8859P6

Arabic + Latin

BLT8ISO8859P13

Baltic multilingual

CL8ISO8859P5

Cyrillic multilingual

CLMSWIN1251

Cyrillic Ukraine + Euro

WE8ISO8859P15

German (Austria) + Euro

WE8ISO8859P1

German (Austria)

WE8ISO8859P15

Danish and Norwegian + Euro

NE8ISO8859P10

Danish and Norwegian

EE8ISO8859P2

Latin 2 multilingual

EL8ISO8859P7

Greek

WE8ISO8859P15

French + Euro

WE8ISO8859P1

French

WE8ISO8859P15

Italian + Euro

WE8ISO8859P1

Italian

IW8ISO8859P8

Hebrew

JA16SJIS

Japanese

KO16KSC5601

Korean

WE8ISO8859P15

Finnish and Swedish + Euro

WE8ISO8859P1

Finnish and Swedish - Sweden

TH8TISASCII

Thai IS 620-2533 EBCDIC 8-bit

WE8ISO8859P9

Turkish

WE8ISO8859P1

Latin 1

WE8ISO8859P15

English (USA, Canada) + Euro

WE8ISO8859P15

Spanish + Euro

WE8ISO8859P15

English (UK) + Euro

WE8ISO8859P15

International ECECP + Euro

WE8ISO8859P15

Western European + Euro

WE8ISO8859P1

Spanish

WE8ISO8859P1

English (UK)

WE8ISO8859P1

English (USA, Canada)

WE8ISO8859P1

French (Canada)

WE8ISO8859P1

Western Europe

NE8ISO8859P10

Icelandic

WE8ISO8859P9

Latin 9

ZHS16CGB231280

Simplified Chinese

ZHT16BIG5

Traditional Chinese


B.6.1 Character Sets

Ideally, the character sets of the Oracle database and the non-Oracle data source are the same. If they are not the same, Heterogeneous Services attempts to translate the character set of the non-Oracle data source to the Oracle database character set, and back again. The translation can degrade performance. In some cases, Heterogeneous Services cannot translate a character from one character set to another.

Note:

The specified character set must be a superset of the operating system character set on the platform where the agent is installed.

B.6.2 Language

The language component of the HS_LANGUAGE initialization parameter determines:

  • Day and month names of dates

  • AD, BC, PM, and AM symbols for date and time

  • Default sorting mechanism

Note that Oracle does not determine the language for error messages for the generic Heterogeneous Services messages (ORA-25000 through ORA-28000). These are controlled by the session settings in the Oracle database.

Note:

Use the HS_NLS_DATE_LANGUAGE initialization parameter to set the day and month names, and the AD, BC, PM, and AM symbols for dates and time independently from the language.

B.6.3 Territory

The territory clause specifies the conventions for day and week numbering, default date format, decimal character and group separator, and ISO and local currency symbols. Note that the level of globalization support between the Oracle database and the non-Oracle data source depends on how the gateway is implemented.

B.7 HS_LONG_PIECE_TRANSFER_SIZE

Property Description
Default value 64 KB
Range of values Any value up to 2 GB

Sets the size of the piece of LONG data being transferred. A smaller piece size means less memory requirement, but more round-trips to fetch all the data. A larger piece size means fewer round-trips, but more of a memory requirement to store the intermediate pieces internally. Thus, the initialization parameter can be used to tune a system for the best performance, with the best trade-off between round-trips and memory requirements, and network latency or response time.

B.8 HS_OPEN_CURSORS

Property Description
Default value 50
Range of values 1 to the value of OPEN_CURSORS initialization parameter of Oracle database

Defines the maximum number of cursors that can be open on one connection to a non-Oracle system instance.

The value never exceeds the number of open cursors in the Oracle database. Therefore, setting the same value as the OPEN_CURSORS initialization parameter in the Oracle database is recommended.

B.9 HS_RPC_FETCH_REBLOCKING

Property Description
Default value On
Range of values Off, On

Controls whether Heterogeneous Services attempts to optimize performance of data transfer between the Oracle database and the Heterogeneous Services agent connected to the non-Oracle data store.

The following values are possible:

B.10 HS_RPC_FETCH_SIZE

Property Description
Default value 50000
Range of values 1 to 100000000

Tunes internal data buffering to optimize the data transfer rate between the server and the agent process.

Increasing the value can reduce the number of network round-trips needed to transfer a given amount of data, but also tends to increase data bandwidth and to reduce latency as measured between issuing a query and completion of all fetches for the query. Nevertheless, increasing the fetch size can increase latency for the initial fetch results of a query, because the first fetch results are not transmitted until additional data is available.

B.11 HS_TRANSACTION_MODEL

Property Description
Default value Database Gateway for VSAM (batch) - SINGLE_SITE

Database Gateway for VSAM (cics) - 2_PHASE_COMMIT

Database Gateway for IMS (DLIBATCH) - SINGLE_SITE

Database Gateway for IMS (imsdbdc) - SINGLE_SITE

Database Gateway for IMS (dbctl) - 2_PHASE_COMMIT

Database Gateway for ADABAS - SINGLE_SITE

Range of values READ_ONLY, SINGLE_SITE, COMMIT_CONFIRM, 2_PHASE_COMMIT

Restricts the transaction mode available with the particular target to a level that can be less than that of the gateway's maximum capability. The maximum capability level is defined by the gateway. The range of values above is in order from minimum capability to maximum capability.

For example, if the maximum is SINGLE_SITE, then the HS_TRANSACTION_MODEL cannot be set to 2_PHASE_COMMIT. However, if 2_PHASE_COMMIT is the driver's maximum allowed value, then the HS_TRANSACTION_MODEL can be SINGLE_SITE.

The following values are possible:

B.12 IFILE

Property Description
Default value None
Range of values Valid parameter file names

Use the IFILE initialization parameter to embed another initialization file within the current initialization file. The value should be an absolute path and should not contain environment variables. The three levels of nesting limit does not apply.

B.13 HS_FDS_CONNECT_INFO

Property Description
Default value None
Range of values Not applicable

Specifies the machine and port information needed to connect to the non-Oracle system.

This is a required parameter that has two different formats, as follows:

Where:

B.14 HS_FDS_PARSER_TOKEN_SIZE

Property Description
Default value 1,000 Characters
Range of values Any positive integer value

Used for setting the parser token size in case the default size is not sufficient. The default value can be changed if the following error occurs:

pclex input buffer overflowed, try to increase the variable tokenSize in your environment.

With default value of 1000, the gateway could handle SQL statements close to 2 MB. Note that the SQL statements sent to the gateway could be very different from the SQL statements issued by the users. If in doubt, turn on gateway trace. Increase this parameter to handle larger SQL statements sent to gateways

B.15 HS_FDS_RECOVERY_ACCOUNT

Property Description
Default value RECOVER
Range of values Any valid user ID

Specifies the name of the recovery account used for the commit-confirm transaction model. An account with user name and password must be set up at the non-Oracle system. For more information about the commit-confirm model, see the HS_FDS_TRANSACTION_MODEL parameter.

The name of the recovery account is case-sensitive.

B.16 HS_FDS_RECOVERY_PWD

Property Description
Default value Recover
Range of values Any valid password

Specifies the password of the recovery account used for the commit-confirm transaction model set up at the non-Oracle system.

The name of the password of the recovery account is case-sensitive.

B.17 HS_FDS_TRACE_LEVEL

Property Description
Default value OFF
Range of values OFF, ON, DEBUG

Specifies whether error tracing is turned on or off for gateway connectivity.

The following values are valid:

The trace goes to the following directory, where data_source is vsam, ims, or adbs, depending on your gateway: $ORACLE_HOME/dg4[data_source]/log

B.18 HS_NLS_NCHAR

Property Description
Default value None
Range of values Any valid character set specification
Syntax HS_NLS_NCHAR=character_set

HS_NLS_NCHAR specifies the character set that the gateway will use to interact with the non-Oracle system when accessing graphic data. Set this parameter to the same value as the character set component of the HS_LANGUAGE parameter. For additional details, see the Oracle Database Heterogeneous Connectivity Administrator's Guide.

B.19 HS_NLS_NUMERIC_CHARACTER

Property Description
Default value Value determined by the HS_LANGUAGE initialization parameter
Range of values Any valid NLS_NUMERIC_CHARACTER value (any two valid numeric characters).

Specifies the characters to use as the group separator and the decimal character. The group separator separates integer groups (such as thousands, millions, and billions). The decimal character separates the integer portion of a number from the decimal portion.

B.20 HS_FDS_DATASOURCE_NAME

Property Description
Default value Gateway SID
Range of values Any valid data source name

Specifies the name of the data source for the remote gateway. If you use this parameter, the SID name of the gateway does not need to be identical to the data source name.

B.21 HS_FDS_ACCESS_METHOD

Property Description
Default value VSAM-BATCH, IMS-BATCH
Range of values VSAM-BATCH, VSAM-CICS

IMS-BATCH, IMS-DBDC, IMS-DBCTL


Specifies the gateway type that is used.

The following values are possible:

The default value is used when no init parameter is defined or when an unknown value is used.