Default values have been specified for most parameters. They can be changed if required. Parameters which must be adjusted to your system environment are written in red letters.
Structure of the INI File UCYBDBCC.ini
Section/Parameter |
Description |
---|---|
[GLOBAL] |
|
helplib= |
The name of the message file. |
Helpcache= |
The availability of the message and language-dependent strings. Allowed values: "ALL" (default value), "NONE", "CONTROLS" "ALL" = The entire message file is kept in the RAM. |
language= |
The language that the login window suggests by default. Allowed values: "E" (default), "D", "F" The language that you select when you log on affects the utility's interface and the log-file messages. When you select several languages here, the first language is used as the default language. |
docu_path= |
The directory in which the help system is installed. |
logging= |
The path and the file name of the log file. The characters are used as place holders for consecutive numbering. When the utility starts, the log files are renamed in order to ensure that the current log file always shows the number "00". |
logcount= |
The number of stored log files. |
WorkTablePath= |
The directory in which the worktable files are created. |
DeadlockCnt= |
The maximum number of deadlocks per operation. |
cmd= |
Command line call command to start the utility. |
path= |
The start path for the utility. |
title= |
This parameter is used internally within the utility. The value must not be changed. |
CommitCntDel= |
The number of data records that should be deleted at once when clients are removed (only for MS SQL Server and Oracle databases). This parameter can improve the performance of the running system during the deletion process. Default value: 0 (all data records are deleted at once) |
[ENVIRONMENT] |
|
classpath= |
The path and the file name of the archive for layout files. |
[TRACE] |
|
file= |
The path and file name of the trace file. The characters are used as place holders for consecutive numbering. When the agent starts, the log files are renamed in order to ensure that the current log file always shows the number "00". |
trccount= |
The number of stored trace files. |
database= |
The trace flag for the utility's database access. Allowed values: "0" (default value) to "9" Trace flags must only be used in close cooperation with Automic Support. |
[SOURCEDB] |
|
SQLDRIVERCONNECT= |
Connection for the database. ODBCVAR - Eight-digit command field for controlling database accesses. 1. Position = N - Do not use server cursor. DSN - The alias name of the database connection. Only for
ORACLE:
Syntax: RECONNECT refers to the frequency with which the database connection should be re-established. This parameter is given priority even if a "D" was set in the 2nd digit of ODBCVAR (see above). Automic recommends using the parameter commit_write='BATCH,NOWAIT' in order to increase performance. For example: SQLDRIVERCONNECT=ODBCVAR=NNJNIORO,DSN=UC4;UID=uc4;PWD=--1037B2E22BF022EBE2; See also: Setting up ORACLE databases Only for DB2: Use "N" on the 6. position in the connection string, when the UID for database access is a domain user. |
[TARGETDB] |
|
TargetDB= |
The use of the destination database. 0 = The destination database is the same as the source database. |
CommitCnt= |
Number of database actions after which a commit to the database is necessary. |
SQLDRIVERCONNECT= |
The connection to the destination database. Will only be considered if TargetDB=1 is set. |
See: Notes for Adjusting INI files
Example of an INI File
[GLOBAL]
helplib = uc.msl
Helpcache = ALL
language = E
docu_path = C:\AUTOMIC\Documentation
logging = ..\TEMP\UCYBCLICPY_LOGG_##.txt
logcount = 5
WorkTablePath = C:\AUTOMIC\UTILITY
DeadlockCnt = 25
cmd="javaw" -jar -cp .;.\UC4LAF.jar UCYBDBCC.jar
path=.
title=UCYBDBCliCpy
[ENVIRONMENT]
classpath=.;.\UC4LAF.jar
[TRACE]
file = ..\TEMP\UCYBCLICPY_TRACE_##.txt
trccount = 10
database = 0
;0=nein
;1=SQL
;2=OPC
;3=BindParam
;4=Datenbereiche
[SOURCEDB]
; ODBCVAR xxxxxxxx
; |||||||+ type of SQL-Syntax N=SQL-SERVER O=ORACLE D=DB2
; ||||||+- R=compress messages and local memory
; |||||+-- O = with userid, N = without userid
; ||||+--- I=OCI/CLI N=ODBC
; |||+---- not used
; ||+----- J = compare fieldnames case-insensitiv (in case of ORACLE !!)
; |+------ D = DB-Disconnect after 1000 commits (perhaps in case of Oracle memory leaks)
; +------- S = use Server-Cursor (SQL-SERVER)
;
; SNNNNNRN for SQL-Server 2000
; NNNNNNRN for SQL-Server 2005
; NNJNINRO for Oracle 8.x with OCI (Oracle Call Interface)
; NNJNIORD for DB2/NT/UNIX with CLI (Call Level Interface)
; NNJNIORZ for DB2/OS390 (7.1) with CLI (Call Level Interface)
; SQL-Server 2000 with ODBC
SQLDRIVERCONNECT=ODBCVAR=SNNNNNRN,DSN=UC4;UID=uc4;PWD=10BFDC349F38156A22
; SQL-Server 2005 with ODBC
;SQLDRIVERCONNECT=ODBCVAR=SNNNNNRN,DSN=UC4;UID=uc4;PWD=UC4
; Oracle with OCI
;SQLDRIVERCONNECT=ODBCVAR=NNJNIORO,DSN=UC4;UID=scott;PWD=tiger
; DB2 with CLI
;SQLDRIVERCONNECT=ODBCVAR=NNJNIORD,DSN=UC4;UID=uc4;PWD=UC4
[TARGETDB]
TargetDB = 1
CommitCnt = 1000
; SQL-Server 2000 with ODBC
SQLDRIVERCONNECT=ODBCVAR=SNNNNNRN,DSN=UC4_test;UID=uc4;PWD=--1037B2E22BF022EBE2
; SQL-Server 2005 with ODBC
;SQLDRIVERCONNECT=ODBCVAR=SNNNNNRN,DSN=UC4;UID=uc4;PWD=UC4
; Oracle with OCI
;SQLDRIVERCONNECT=ODBCVAR=NNJNIORO,DSN=UC4;UID=scott;PWD=tiger
; DB2 with CLI
;SQLDRIVERCONNECT=ODBCVAR=NNJNIORD,DSN=UC4;UID=uc4;PWD=UC4
See also: