Ispirer Ispirer
 


Ispirer Home Page Ispirer SQLWays Product Page Request SQLWays

Sqlways.ini File - Section [COMMON]

This article describes sqlways.ini file [COMMON] section and the options it contains.

Option name Description
DSN Data source name
USER User name
PWD Password
TARGET Target database
TARGET_PRODUCT Target database product
TARGET_VERSION Target database version
MIGRATION_SEQUENCE Migration sequence. The default value is Clean.
IMPORT_SYSTEM Import system. The default value is Windows.
DIR Export directory
LOBDIR Directory for LOB files. By default Ispirer SQLWays Wizard will store LOB files in the Export directory.
IMPORT_DIR Import directory
IMPORT_LOBDIR Import directory for LOB files
OUTFORMAT Output text format
PREFETCHROWS Prefetch count. The default value is 1000.
NONSTOP Continue when an error occurs. The default value is Yes. Possible values - Yes, No.
REGISTRATION_NAME Specifies the registration name

This option can be used for custom SQLWays fixes or in case if access
to the registry to read license information is restricted
REGISTRATION_NUMBER Specifies the registration number

Use this option if access to the registry to read license information is restricted
TEST Generates testing scripts for destination database
MAX_NUMBER_OF_TEST_CALLS Controls the number of calling statements for option TEST. The default is 10
GENRPT Option that controls whether to generate the HTML report or not. The default value is Yes. Possible values - Yes, No.
CONVERT_VIEW2TABLE Option that controls whether to convert all selected views to tables or not. The data for the tables is extracted from the source database using the select provided in a view. The default value is No. Possible values - Yes, No.
FN_WITH_EXC2SP Whenever there is EXEPTION block with WHEN OTHERS inside the function it converts to procedure with TRY CATCH block. The default value is No or Empty. Possible values - Yes, No.
OPTION_VARYING_PARSING Option that controls the way the delimited identifiers from Informix are parsed.

As the default in Informix double quotes represent the string literal. This behavior can be changed by using the DELIMIDENT option. If DELIMIDENT option is set to ON, one can use double quotes to represent the delimited identifiers in Informix database. So, if the BL object, like Stored Procedure or UDF is created with this option and uses delimited identifiers inside, even if the option is OFF, the BL still will be working correctly.

SQLWays tries to parse double quotes as the string literal first, using the OPTION_VARYING_PARSING option. If the parser error arises, the source code is parsed as if the DELIMIDENT is set to ON - like a delimited identifier.

Possible values - Yes, No.
CONVERT_VIEW2TABLE When this option is set to “yes” all views selected for convertion are converted to tables. Data for such tables is retrieved using select statements of these views. The default value is No. Possible values - Yes, No.
USE_ODBC_FUNCTIONS When this option is set to “yes” only ODBC functions are used to extract data from source database. The default value is No. Possible values - Yes, No.
PRECACHE_OBJECTS This option increases performance of SQLWays on working with large database. When you need to convert a number of tables that is greater than defined in PRECACHE_TABLES_COUNT option optimization is turned on. The default value is “True”. Possible values - True, False.
PRECACHE_TABLES_COUNT This option defines the minimum number of tables, which will be precached if PRECACHE_OBJECTS is set to True. The default value is 100.
SUB_QUERY2VIEW Option that controls whether to convert the sub-queries from WITH Clause into Views or no. The views in this case are created before the whole query and sub-query aliases are left the same as in the source. The conversion works when the option is set to Yes. The default value is No.
USE_ANSI_CAST When this option is set to “yes” only ANSI SQL scalar function CAST is used to convert values from one datatype to another. The default value is No. Possible values - Yes, No.
Supported directions:
Sybase ASA to PostgreSQL
REPLICATION_CONVERT When this option is set to “yes” SQLWays, instead of the migration, performs the generation of the Triggers and additional tables for the SQLWays Replication Utility. The default value is No. Possible values - Yes, No.
LOGICAL_FILES_PATH To migrate Logical Files from DB2 AS400, should be provided a path to the files that will store LF definition. SQLWays Wizard will be able to read, analyze such description and convert it to the view in target database. This option should be set only if you are migrating from DB2 AS400 and need to convert Logical Files.
SOURCE_DB Option that defines source database for embedded sql conversion.
TARGET_DB Option that defines target database for embedded sql conversion.
API_SOURCE_DB Option that defines database API for source database for embedded sql conversion.
API_TARGET_DB Option that defines database API for target database for embedded sql conversion.
API_SOURCE_DB_VERSION Option that defines version of database API for source database for embedded sql conversion.
API_TARGET_DB_VERSION Option that defines version of database API for target database for embedded sql conversion.

Example:

[common]
registration_name = ABC Inc. 
registration_number = XXXX-YYYY-ZZZZ


Ispirer Home Page Ispirer SQLWays Product Page Request SQLWays

sqlways/command-line/sqlways-ini/common-section.txt · Last modified: May 22, 2017, 04:33:36 AM by alexandr.kirpichny
 
© 1999-2018, Ispirer Systems Ltd.
All Rights Reserved.  Privacy Statement