oracle connection parameter for progress to oracle migration

itpragmatic

New Member
Experts

I have been looking to migrate progress' 9.1 D data to oracle 10 g.
I am doing like following.
Data dictionary---> Data administration---> Data server---> Oracle utilities--->Schema migration tools--->progress DB to oracle.
I get the progress db to oracle conversion window.
I am getting problem in Oracle Connection parameters. What parameter should I pass there?
Please share your ideas/suggestions.

Best regards.
 

rstanciu

Member
Release 10.2A: OpenEdge Data Management:
DataServer for Oracle

[h=2]Running the OpenEdge DB-to-Oracle utility[/h] You can run the OpenEdge DB-to-Oracle utility interactively or in batch mode.
prociconmultiple.gif
To migrate an OpenEdge database to Oracle:

  1. Create a target Oracle database if you do not already have one. If you want to use tablespaces, you must define them in your Oracle database before running the OpenEdge-to-Oracle utility. When developing a new DataServer application, start with a new empty database.
  2. Start an instance of your target Oracle database.
  3. If connecting with Oracle networking, make sure that the ORACLE_SID environment variable is set to the Oracle database name.
  4. Make sure that the ORACLE_HOME environment variable is set to the directory where you installed Oracle.
  5. Start the OpenEdge client and connect to the OpenEdge database that you want to migrate to Oracle.
    Note: For a DBE DataServer application, you must specify the Internal Code Page (-cpinternal) and Stream Code Page (-cpstream) parameters when you start the client. The values that you specify for these parameters much match the code page that the Oracle database uses.
  6. In Windows, from the Data Admin tool, choose DataServer
    arrow.gif
    ORACLE Utilities
    arrow.gif
    Schema Migration Tools
    arrow.gif
    OpenEdge DB to Oracle.

    On UNIX, access the utility from the DataServer menu in the Data Dictionary. Or, you can run the utility from the command line:


    pro source_db -p prodict/ora/protoora.p


  7. The following screen appears and prompts you for information:
    090d37.gif

Table 7–7 Describes each of the elements on the OpenEdge to Oracle Conversion dialog box.

Original OpenEdge Database
The source database name. Accept the default value.
Connect parameters for OpenEdge
The parameters for the connection to the source OpenEdge database, which is the current working database. Accept the default value.
Name of Schema holder Database
Enter the name for the schema holder. The utility creates the schema holder if it does not exist.
Logical name for Oracle Database
Enter the Oracle database logical name. The logical database name is the name of the schema image and the name you will use to refer to the Oracle database in applications. The database’s logical name must be different than the name you enter for the schema holder and different than the name of any other schema image existing in that schema holder.
What version of Oracle
Enter the version of Oracle you are using. The default is 8. To enable Unicode, this value must be set to 9 or higher, which represents Version 9i or later.
Oracle Owner’s Username
Enter the Oracle database owner’s name.
Oracle User’s password
Enter the owner’s password.
Oracle connect parameters
Enter additional connection parameters as needed.
Code page for Schema Image
Enter the OpenEdge name for the code page that the Oracle Call Interface (OCI) uses. For Unicode support, set the value to UTF-8 when migrating from an OpenEdge database to an Oracle database.
Note: For a UTF-8 schema image code page, the corresponding OCI code page (that is, the NLS_LANG setting) setting must be AL32UTF8 to ensure full Unicode compatibility.
Collation Name
Enter the collation table you wish to use. By default, the collation table is Basic. The collation table you specify must be defined in the convmap .dat file or you will receive an error message.
Maximum char length
Enter a positive value up to and including 4000. This value is defaulted based on the values of other Unicode-specific settings in your migration. See the "Handling character length during database migration" section for details.
Tablespace tables
Enter the name of the Oracle tablespace where you want to store schema information. The default is the Oracle user’s default tablespace.
Tablespace index
Enter the name of the Oracle tablespace where you want to store index information. The default is the Oracle user’s default tablespace.
Create RECID field
Check this toggle box to create an Oracle database that supports arrays, case-insensitive indexes, backward and forward scrolling, and the OpenEdge record identifier. These objects result in additional columns added to Oracle tables.
Load SQL
Check this toggle box to load the .sql file that contains the data definitions for your OpenEdge database into the Oracle database. By default, this option is checked.
Move Data
Check this toggle box to dump and load data from your OpenEdge database to the Oracle database. Copying data from a large database can take a long time. For example, you might not check this box if you want to dump and load data at a more convenient time.
Create Shadow Columns
Check this toggle box to support case-sensitive columns with shadow columns. By default, this option is not checked, allowing the utility to automatically support ABL case insensitivity via Oracle function-based indexes.
Note: Function-based indexes and shadow columns can coexist in a schema holder to support case insensitive indexes.
Include Default
Check this toggle box to include initial values in column definitions.
Char semantics
Check this toggle box to set the unit of measure for length to character semantics when migrating OpenEdge file fields to Oracle table columns. Length values for the migration are derived from the For field widths use setting. The Char semantics option is only enabled for Unicode migrations. To enable it, the schema image code page must be set to utf-8 and you must specify an Oracle Version of 9 or later. The default setting is YES if ORACODEPAGE is UTF-8.
Use Unicode Types
Maps character fields to Unicode data types. You must specify 9 or higher (corresponding to an Oracle version of 9i or later) to enable this option.
For field widths use
When pushing fields to a foreign data source, you can select one of two primary field format options:

  • Width — Uses the value of the _width field in the _field record. Recommended especially for Unicode implementations. For more information on field widths, see the "Adjusting field widths during migration" section.
  • ABL Format — Compiles with the current default width specified. (default)

If you select the ABL Format option, you have an additional setting to define:

  • Expand x(8) to 30 — This setting is on by default to indicate that the format for the character fields defined as x(8) will be created as 30 characters.

Note: You cannot use the Expand x(8) to 30 setting with the Width option.

Table 7–7: OpenEdge DB to Oracle UI settings

Interface Element
Description


The utility creates a schema holder, an Oracle database that contains the objects from your OpenEdge database, and a startup procedure that you can use to connect to your schema holder. The startup procedure derives its name from the logical name for your Oracle database. For example, if you specified “orasports” as the logical database name, the utility creates the corasports.p startup procedure.
If your OpenEdge database is Unicode enabled, you need to consider the implications of data widening. For more information, see "OpenEdge DB-to-Oracle utility" section and "Handling character length during database migration" section.
prociconmultiple.gif
To run the OpenEdge DB-to-Oracle utility in batch mode on a UNIX client machine:

  1. Create a target Oracle database. You should connect as a user with no pre-existing object.
  2. Start an instance of your target Oracle database.
  3. If using Oracle Networking, make sure that the ORACLE_SID environment variable is set to the Oracle database name.
  4. Make sure that the ORACLE_HOME environment variable is set to the directory where you installed Oracle.
  5. On your client machine, pass parameters to the utility by setting the environment variables as listed in Table 7–8.

    PRODBNAME
    Specify the source OpenEdge database name.
    PROCONPARMS
    Specify parameters for the connection to the source OpenEdge database.
    SHDBNAME
    Specify the new schema-holder name.
    ORADBNAME
    Specify the Oracle database logical name. The database’s logical name can be the same as its physical name, but it must be different from the name you enter for the schema holder.
    ORAVERSION
    Specify the version of Oracle you are using. Possible values are 8, 9, or 10. The default is 8.
    ORAUSERNAME
    Specify the Oracle user’s name.
    ORAPASSWORD
    Specify the user’s password.
    ORACONPARMS
    Specify additional connection parameters for the schema holder.
    ORACODEPAGE
    Specify the OpenEdge name for the code page that the Oracle Database uses.
    TABLEAREA
    Enter the name of the Oracle tablespace where you want to store schema information. The default is the SYSTEM tablespace.
    INDEXAREA
    Enter the name of the Oracle tablespace where you want to store index information. The default is the SYSTEM tablespace.
    COMPATIBLE
    Specify YES to create an Oracle database that supports FIND PREV/LAST and the OpenEdge ROWID function. The default is YES.
    SQLWIDTH
    Specify YES to use the _width field to calculate column size instead of using the format field.
    ORACOLLNAME
    Enter the collation name.
    CRTDEFAULT
    Specify YES to include initial values in column definitions.
    LOADSQL
    Specify YES to load the .sql file that contains the data definitions for your OpenEdge database into the Oracle database. Specify NO if you do not want the utility to load the .sql file, for example if you want to edit the file before loading it. The default is YES.
    MOVEDATA
    Specify YES to dump and load data. Otherwise, if you do not want to populate the Oracle database, specify NO. For example, you might specify NO if your database is large, and you want to dump and load data at a more convenient time. The default is NO.
    EXPANDX8
    This setting is on by default to indicate that the format for the character fields defined as x(8) will be created as 30 characters.
    UNICODETYPES
    Maps character fields to Unicode data types. The default is NO.
    CHARSEMANTICS
    Sets the unit of measure for length to character semantics when migrating OpenEdge file fields to Oracle data columns. The default setting is YES if ORACODEPAGE is UTF-8.
    VARLENGTH
    Dependent on other selections. Maximum value is 4000.

    Table 7–8: Environment Variables

    Environment Variable
    Description

  6. Enter these commands to set and export environment variables at the system prompt before running the compiled ABL program, protoora.r:


    PRODBNAME=db-name; export PRODBNAME
    PROCONPARMS="-1 -i"
    SHDBNAME=schema-holder-name; export SHDBNAME
    .
    .
    .
    pro -b -p prodict/ora/protoora.r




 

itpragmatic

New Member
@rstanciu

Thank you once again for your reply. Unfortunately, I could not get the things in tact. I would try to do it again step by step again.

Best regards.
 
Top