HOWTO: DB2 To Oracle Daily Loads

I need to upload DB2/400 data daily. This would be a piece of cake in SQL Server using DTS. But I find it hard to believe that Oracle doesn't have equivalent functionality in some package.
I DONT want to export files daily from DB2 side & then FTP them to the Oracle box; it's been tried & there are too many failure points. Also, that would require tracking dozens of files (one for each query).
Thanks in advance

there are few methods to do it,
db2 data can be transfered as flat files through ftp (this is only if huge data involved in it) then this flat files can be made as external tables for the ETL.
other way of doing it is creating a Hetrogeneous service using
OTG ( Oracle Transperent Gateway)
or
using a Generic connectivity (ODBC)
then create a DB link in Oracle Database for that HS service.
now this dblink can be utilised to solve ur problem,
for more infor u can refer the oracle hetrogeneous serice documents.
regar.ds

Similar Messages

  • How Do I.... DB2 To Oracle Daily Loads

    I need to upload DB2/AS400 data daily. This would be a piece of cake in SQL Server using DTS. But I don't know where to start in the Oracle world.
    I DONT want to export files daily from DB2 side & then FTP them to the Oracle/Sun box; it's been tried & there are too many failure points. Also, that would require tracking dozens of files (one for each query).
    I see some threads about database links using ODBC, but I'm on a Sun box. Is it still possible? Are there other connectivity options?
    Thanks much in advance

    John,
    DB2 to Oracle on a daily basis has different options, each with their own advantages/disadvantages:
    - Use Oracle's transparent gateways, that make the DB2 database look like an Oracle database to your Oracle database. Biggest pro: good performance. Biggest con: transparent gateways are seperately priced options on the database.
    - Use ODBC to connect Oracle to DB2. Biggest pro: free at the Oracle side. Biggest 2 cons: relatively slow performances and manual effort to set it up.
    - Generate files from DB2 and load those into Oracle. Biggest pro: simple. Biggest 2 cons: requires at least one more staging step, causing slower performance and is more difficult to manage.
    Hope this helps,
    Mark.

  • Define BINARY DATA column (DB2 to Oracle migration)

    Have a table where a column is defined as 'FOR BIT DATA'. This specifies that the contents of the column are to be treated as bit (binary) data. During data exchange with other systems, code page conversions are not performed. Comparisons are done in binary, irrespective of the database collating sequence.
    During conversion to Oracle using Oracle Migration Workbench, this table is converted irrespective of this definition. Please see below for details:
    DB2 table definition:
    CREATE TABLE ADMIN.XENCY (
              ID INTEGER NOT NULL ,
              XENCYSYMBOL CHAR(2) FOR BIT DATA NOT NULL ,
              IN TS_XENCY ;
    Oracle table definition as generated by OMWB:
    CREATE TABLE ADMIN.XENCY
    ( ID NUMBER(10,0) NOT NULL ENABLE,
    XENCYSYMBOL CHAR(2) NOT NULL ENABLE,
    ) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
    STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE TS_XENCY;
    During data loading from DB2 to Oracle it fails for this table with the following error:
    Type: Error
    Time: 14-08-2006 18:21:02
    Phase: Migrating
    Message: Unable to migrate data from source table ADMIN.XENCY to destination table ADMIN.XENCY : ADMIN.XENCY; ORA-12899: value too large for column "ADMIN"."XENCY"."XENCYSYMBOL" (actual: 4, maximum: 2)
    For Oracle the length of the data in this column is 4; however for DB2 it is 2 only as shown below:
    $ db2 "select max(length(Xencysymbol)) from admin.Xency with ur"
    1
    2
    1 record(s) selected.
    $     
    The distinct contents of this table is as follows:
    $ db2 "select distinct Xencysymbol from admin.Xency with ur"
    XENCYSYMBOL
    x'0024'
    x'2020'
    2 record(s) selected.
    $
    How do I define a column as containing binary data in Oracle?
    Thanks in advance.

    The MWB DB2 LUW plug-in incorrectly translates CHAR FOR BIT. Doesn't particularly pay attention to any of the CHAR modifiers. It will just see that column as a CHAR. Obviously, this is a defect.
    Binary data of limited length is stored in RAW type columns in Oracle DB.
    You have two problems (in addition to issuing an ALTER COLUMN to fix the type delcaration or dropping, tweaking the table creation script and reloading. )
    1. The data extraction scripts utilized for that table have not properly encoded the data for transport between DB systems. If there are endian differences between he source and target platform there may be additional problems. Nominally, you can export the binary data in hex format.
    2. The SQL*Loader file needs to be adjusted. (if you dump in hex format, so the data in the file is characters of a hex value )
    XENCYSYMBOL CHAR : hextoraw( : XENCYSYMBOL)
    Loader will convert those hex characters back into RAW as it loads.
    [ The  built in data pump will not work obviously because the system thinks it is a CHAR. So offline data transfer is your only option.  ]

  • How to move sql server DB to oracle and DB2 to oracle

    Hi ,
    I would like to like to know what is the work involved when
    i want to retire sql server database and move to oracle and db2 to oracle.
    Please let me know the tools used for this purpose or wha should be done actually.
    Thanks in advance

    For the SQL Server migration you could use the SQL Developer utility. More details can be found at:
    http://www.oracle.com/technetwork/database/migration/index-084442.html
    This SQL Developer based migration utility also supports DB2 migrations when the Db2 database is a UDB DB2 V7, V8 or V9 and if it is running on LUW. For ALL other DB2 databases no actual migration utility is available. Possible alternatives might be Golden Gate, Oracle Database Gateway or the SQL*Loader utility.

  • How to look at the delta (daily load) records from R/3 system to BW master

    How to look at the delta (daily load) records from R/3 system to BW master on a particular date, let us say,
    today delta happened from R/3 to 0vendor  in BW , how to view what are all the records came to BW - 0vendor (from R/3) in today's delta.
    Regards
    Siva

    Hi,
    youi can see the data in the PSA.
    Just go to the request in monitor tab and in the monitor and in the left top click on the PSA button.
    In the nest window give the selection on the number of records you want to see from that if you want to see all the records give the number which get laoded in that request.
    this will show you the data loaded in that request.
    Hope it clears
    thanks

  • Problems with the Oracle Pre-Load actions in an homogeneous system copy

    Hi,
    I am trying to do a NW04 homogeneous system copy, and I am having troubles with the ABAP copy. (Oracle Pre-Load Actions step)
    I am with the database specific procedure, so I am creating the new system until the sapinst asks me to bring an online-offline backup and the control file, then the sapinst tries to recover the database by himself, but he finds trouble:
    Error: CJS-00084 SQL statement or script failed.<br>DIAGNOSIS: Error message: ORA-01194: file 1 needs more recovery to be consistent Ora-01110: data file 1: 'oracle/XIE...'
    If I try to do the recover manually I have to make the usual:
    RECOVER DATABASE UNTIL CANCEL USING BACKUP CONTROLFILE;
    CANCEL
    ALTER DATABASE OPEN RESETLOGS;
    If I follow the sapinst.log I find that the sapinst tries to recover the database but fails with the above message and:
    ORA-01589: must use RESETLOGS or NORESETLOGS option for database open
    Yes, that's true, if I make it manually I have to open the database with the 'alter database open resetlogs';
    the problem could be fixed modifying the run_control.sql statement that the SAPINST creates at the working directory, but no modification to that statement is possible because the SAPINST deletes and creates the statement IMMEDIATELY before executing it, so what can I do?
    Many thanks
    Mario

    SOLVED
    for your info, the run_control.sql is UNMODIFIABLE, but I could modify the CONTROL.SQL that he calls, so I recovered manually the Database, and the CONTROL.SQL was a simply CONNECT and then OPEN DATABASE, just like that, so I could continue with my installation, another point for us against the damned SAPINST !!!

  • I have OSX 10.7.5.  I loaded Powerschool, this sent me to oracle to load java 7, now powerschool won't laod, java 7 logo just spins.  I contacted orgacle live help, said it was a mac problem that they could fix for $75.  Any help would be wonderful.  MT

    I have OSX 10.7.5.  I loaded Powerschool, this sent me to oracle to load java 7, now powerschool won't laod, java 7 logo just spins.  I contacted orgacle live help, said it was a mac problem that they could fix for $75.  Any help would be wonderful.  MT

    Pearson put out a tech note on this today - the new versions of Java are what's causing the problem. If you can use Time Machine to rollback java prior to a java 7 or 1.6.0_37 version that will get you going again. I've been searching for hours for a place to download the older version but it seems Apple's site and Oracle all only have the latest release. Still trying to see if I have a copy downloaded on a system that hasn;t been updated to copy off to a network drive or usb and install the older version on to systems.
    PowerSchool Tech Notes
    PowerTeacher Gradebook and recent Mac OS X Java update
    An update to Java for Mac OS X was released on October 16, 2012. An issue has been identified with this Java update (Java for OS X 2012-006) which prevents teachers from launching PowerTeacher Gradebook.
    Teachers using PowerTeacher Gradebook should avoid taking this Java update to version 1.6.0_37 until notified that PowerTeacher Gradebook has been certified with this latest version of Java 1.6 for Mac OS X. PowerTeacher Gradebook will continue to work on Mac OS X workstations with Java version 1.6.0_35.
      Additional communication will be provided once a workaround is identified or an updated version of PowerTeacher Gradebook is available.

  • Oracle Data Loader On Demand on EHA Pod

    Oracle Data Loader doesn't work correctly.
    I downloaded it from Staging(EHA Pod).
    And I did the following work.
    1.Move to "config" folder,and update "OracleDataLoaderOnDemand.config".
    hosturl=https://secure-ausomxeha.crmondemand.com
    2.Move to "sample" folder,and change Owner_Full_Name at "account-insert.csv".
    And at the command prompt,run the batch file.
    It runs successfully,but records aren't inserted on EHA Pod.Records exist on EGA Pod.
    This is the log.
    Is Data Loader for only EGA Pod?Would please give me some advices?
    [2012-09-19 14:49:55,281] DEBUG - [main] BulkOpsClient.main(): Execution begin.
    [2012-09-19 14:49:55,281] DEBUG - [main] BulkOpsClient.main(): List of all configurations loaded: {sessionkeepchkinterval=300, maxthreadfailure=1, testmode=production, logintimeoutms=180000, csvblocksize=1000, maxsoapsize=10240, impstatchkinterval=30, numofthreads=1, hosturl=https://secure-ausomxeha.crmondemand.com, maxloginattempts=1, routingurl=https://sso.crmondemand.com, manifestfiledir=.\Manifest\}
    [2012-09-19 14:49:55,281] DEBUG - [main] BulkOpsClient.main(): List of all options loaded: {datafilepath=sample/account-insert.csv, waitforcompletion=False, clientlogfiledir=., datetimeformat=usa, operation=insert, username=XXXX/XXXX, help=False, disableimportaudit=False, clientloglevel=detailed, mapfilepath=sample/account.map, duplicatecheckoption=externalid, csvdelimiter=,, importloglevel=errors, recordtype=account}
    [2012-09-19 14:49:55,296] DEBUG - [main] BulkOpsClientUtil.getPassword(): Entering.
    [2012-09-19 14:49:59,828] DEBUG - [main] BulkOpsClientUtil.getPassword(): Exiting.
    [2012-09-19 14:49:59,828] DEBUG - [main] BulkOpsClientUtil.lookupHostURL(): Entering.
    [2012-09-19 14:49:59,937] DEBUG - [main] BulkOpsClientUtil.lookupHostURL(): Sending Host lookup request to: https://sso.crmondemand.com/router/GetTarget
    [2012-09-19 14:50:03,953] DEBUG - [main] BulkOpsClientUtil.lookupHostURL(): Host lookup returned: <?xml version="1.0" encoding="UTF-8"?>
    <HostUrl>https://secure-ausomxega.crmondemand.com</HostUrl>
    [2012-09-19 14:50:03,953] DEBUG - [main] BulkOpsClientUtil.lookupHostURL(): Successfully extracted Host URL: https://secure-ausomxega.crmondemand.com
    [2012-09-19 14:50:03,953] DEBUG - [main] BulkOpsClientUtil.lookupHostURL(): Exiting.
    [2012-09-19 14:50:03,953] DEBUG - [main] BulkOpsClientUtil.determineWSHostURL(): Entering.
    [2012-09-19 14:50:03,953] DEBUG - [main] BulkOpsClientUtil.determineWSHostURL(): Host URL from the Routing app=https://secure-ausomxega.crmondemand.com
    [2012-09-19 14:50:03,953] DEBUG - [main] BulkOpsClientUtil.determineWSHostURL(): Host URL from config file=https://secure-ausomxeha.crmondemand.com
    [2012-09-19 14:50:03,953] DEBUG - [main] BulkOpsClientUtil.determineWSHostURL(): Successfully updated the config file: .\config\OracleDataLoaderOnDemand.config
    [2012-09-19 14:50:03,953] DEBUG - [main] BulkOpsClientUtil.determineWSHostURL(): Host URL set to https://secure-ausomxega.crmondemand.com
    [2012-09-19 14:50:03,953] DEBUG - [main] BulkOpsClientUtil.determineWSHostURL(): Exiting.
    [2012-09-19 14:50:03,953] INFO - [main] Attempting to log in...
    [2012-09-19 14:50:10,171] INFO - [main] Successfully logged in as: XXXX/XXXX
    [2012-09-19 14:50:10,171] DEBUG - [main] BulkOpsClient.doImport(): Execution begin.
    [2012-09-19 14:50:10,171] INFO - [main] Validating Oracle Data Loader On Demand Import request...
    [2012-09-19 14:50:10,171] DEBUG - [main] FieldMappingManager.parseMappings(): Execution begin.
    [2012-09-19 14:50:10,171] DEBUG - [main] FieldMappingManager.parseMappings(): Execution complete.
    [2012-09-19 14:50:11,328] DEBUG - [Thread-3] ODWSSessionKeeperThread.Run(): Submitting BulkOpImportGetRequestDetail WS call
    [2012-09-19 14:50:11,328] INFO - [main] A SOAP request was sent to the server to create the import request.
    [2012-09-19 14:50:13,640] DEBUG - [Thread-3] SOAPImpRequestManager.sendImportGetRequestDetail(): SOAP request sent successfully and a response was received
    [2012-09-19 14:50:13,640] DEBUG - [Thread-3] ODWSSessionKeeperThread.Run(): BulkOpImportGetRequestDetail WS call finished
    [2012-09-19 14:50:13,640] DEBUG - [Thread-3] ODWSSessionKeeperThread.Run(): SOAP response status code=OK
    [2012-09-19 14:50:13,640] DEBUG - [Thread-3] ODWSSessionKeeperThread.Run(): Going to sleep for 300 seconds.
    [2012-09-19 14:50:20,328] INFO - [main] A response to the SOAP request sent to create the import request on the server has been received.
    [2012-09-19 14:50:20,328] DEBUG - [main] SOAPImpRequestManager.sendImportCreateRequest(): SOAP request sent successfully and a response was received
    [2012-09-19 14:50:20,328] INFO - [main] Oracle Data Loader On Demand Import validation PASSED.
    [2012-09-19 14:50:20,328] DEBUG - [main] BulkOpsClient.sendValidationRequest(): Execution complete.
    [2012-09-19 14:50:20,343] DEBUG - [main] ManifestManager.initManifest(): Creating manifest directory: .\\Manifest\\
    [2012-09-19 14:50:20,343] DEBUG - [main] BulkOpsClient.submitImportRequest(): Execution begin.
    [2012-09-19 14:50:20,390] DEBUG - [main] BulkOpsClient.submitImportRequest(): Sending CSV Data Segments.
    [2012-09-19 14:50:20,390] DEBUG - [main] CSVDataSender.CSVDataSender(): CSVDataSender will use 1 threads.
    [2012-09-19 14:50:20,390] INFO - [main] Submitting Oracle Data Loader On Demand Import request with the following Request Id: AEGA-FX28VK...
    [2012-09-19 14:50:20,390] DEBUG - [main] CSVDataSender.sendCSVData(): Creating thread 0
    [2012-09-19 14:50:20,390] INFO - [main] Import Request Submission Status: Started
    [2012-09-19 14:50:20,390] DEBUG - [main] CSVDataSender.sendCSVData(): Starting thread 0
    [2012-09-19 14:50:20,390] DEBUG - [main] CSVDataSender.sendCSVData(): There are pending requests. Going to sleep.
    [2012-09-19 14:50:20,406] DEBUG - [Thread-5] CSVDataSenderThread.run(): Thread 0 submitting CSV Data Segment: 1 of 1
    [2012-09-19 14:50:24,328] INFO - [Thread-5] A response to the import data SOAP request sent to the server has been received.
    [2012-09-19 14:50:24,328] DEBUG - [Thread-5] SOAPImpRequestManager.sendImportDataRequest(): SOAP request sent successfully and a response was received
    [2012-09-19 14:50:24,328] INFO - [Thread-5] A SOAP request containing import data was sent to the server: 1 of 1
    [2012-09-19 14:50:24,328] DEBUG - [Thread-5] CSVDataSenderThread.run(): There is no more pending request to be picked up by Thread 0.
    [2012-09-19 14:50:24,328] DEBUG - [Thread-5] CSVDataSenderThread.run(): Thread 0 terminating now.
    [2012-09-19 14:50:25,546] INFO - [main] Import Request Submission Status: 100.00%
    [2012-09-19 14:50:26,546] INFO - [main] Oracle Data Loader On Demand Import submission completed succesfully.
    [2012-09-19 14:50:26,546] DEBUG - [main] BulkOpsClient.submitImportRequest(): Execution complete.
    [2012-09-19 14:50:26,546] DEBUG - [main] BulkOpsClient.doImport(): Execution complete.
    [2012-09-19 14:50:26,546] INFO - [main] Attempting to log out...
    [2012-09-19 14:50:31,390] INFO - [main] XXXX/XXXX is now logged out.
    [2012-09-19 14:50:31,390] DEBUG - [Thread-3] ODWSSessionKeeperThread.Run(): Interrupted.
    [2012-09-19 14:50:31,390] DEBUG - [main] BulkOpsClient.main(): Execution complete.

    Hi,
    the Data Loader points by default to the production environment regardless if you download it from staging or production.
    To change the pod edit the config file and input the below content:
    hosturl=https://secure-ausomxeha.crmondemand.com
    routingurl=https://secure-ausomxeha.crmondemand.com
    testmode=debug

  • DB2 to Oracle 11g migration

    Hi,
    We are migrating the siebel database from DB2 to Oracle 11g.
    While doing the migration, the following values are found for the siebel related tables on DB2.
    for example:
    CREATE TABLE S_SERVICE_SCRPT (
    ROW_ID NVARCHAR2(15) NOT NULL,
    CREATED TIMESTAMP(9) DEFAULT CURRENT TIMESTAMP NOT NULL,
    CREATED_BY NVARCHAR2(15) NOT NULL,
    LAST_UPD TIMESTAMP(9) DEFAULT CURRENT TIMESTAMP NOT NULL,
    LAST_UPD_BY NVARCHAR2(15) NOT NULL,
    MODIFICATION_NUM DECIMAL DEFAULT 0 NOT NULL,
    CONFLICT_ID NVARCHAR2(15) DEFAULT gx'00030' NOT NULL,
    NAME NVARCHAR2(75) NOT NULL,
    PROG_LANG NVARCHAR2(30) NOT NULL,
    REPOSITORY_ID NVARCHAR2(15) NOT NULL,
    Please can anybody provide inputs how to get the equivalent for these gx___ values on Oracle 11g.
    Many thanks in advance

    Found a suitable link at IBM:
    http://publib.boulder.ibm.com/infocenter/dzichelp/v2r2/index.jsp?topic=/com.ibm.db29.doc.sqlref/db2z_sql_declareglobaltemptable.htm
    gx is the hexadecimal graphic string constant - which is similar to our unistr function.
    Not sure which character is representated by 00030, but here's a method you can use to simply figure out the Oracle equivalent code point.
    First you need to figure out the DB2 character represented by the default value - let's assume it is '@'
    Assuming the NCHAR character set is UTF8 and the NLS character set is WE8MSWIN1252, then you can execute:
    select ascii('@') from dual;
    ASCII('@')
    64
    in SQL*Plus and you'll get the code point 64.
    Convert the 8bit code point to unicode using:
    SQL> select dump(convert(chr(64),'UTF8','WE8MSWIN1252'),16) from dual;
    DUMP(CONVERT(CH
    Typ=1 Len=1: 40
    and you can create the table with the default value represented by the hex value 0040:
    SQL> create table abc (col1 varchar2(20) default '@',
    2 col2 nvarchar2(20) default unistr('\0040'));
    Table created.
    SQL> insert into abc values (default,default);
    1 row created.
    SQL> select * from abc;
    COL1 COL2
    @ @

  • Migration data from SAP DB2 to Oracle 10g

    Hi , I am assigned to migrate data from SAP system which is using DB2 to Oracle 10g.I not very familiar with SAP. I hope someone can help me., especially for those familiar in SAP.
    Please help me.
    thanks
    jebatco

    Hello,
    just migrating a DB2 database to Oracle 10g might be an easy task. The Oracle Migration Workbench is the tool for such a migration:
    http://www.oracle.com/technology/tech/migration/workbench/index.html
    I have no idea about SAP, and that might complicate the picture. But there exist specialists for this task:
    Oracle Expertise in the SAP environment
    The Solution Center SAP Support and Service – located in Walldorf – offers SAP
    customers the following services:
    • Advanced Customer Services (ACS)
    • Performance Analysis and Tuning
    • Development of concepts for Backup/Restore/Recovery, and High Availability,
    Administration
    • Security concepts
    • Optimizing of ABAP/4 programs (performance improvement)
    • Migration service for customers, who want to use Oracle as the database for SAP
    applications (from Informix, MaxDB, DB2, or SQL Server to Oracle).
    • Migration services from “Oracle to Oracle” (e.g. Tru64 to HP_UX)
    • Integration-Products and –Services
    • Oracle Database: The Database of Choice for Deploying SAP Solutions
    This is taken from http://www.oracle.com/newsletters/sap/docs/ora4sap-db-of-choice.090213.pdf
    Best regards
    Wolfgang

  • Want to use sequence object of oracle when loading data in sql loader

    Hi,
    I want to use sequence when loading data in sqll loader, but the problem is i could not use sequence object of oracle to load the data by sql loader, i can use sequence of sql loader.
    I want to use sequence object because in later entries this sequence object will be used.If i use sequence of sql loader how can i use oracle sequence object
    Is there any other option

    I have a simillar problem, I also want to use a sequence when loading data by the SQL Loader.
    My control file is:
    load data
    infile '0testdata.txt'
    into table robertl.tbltest
    fields terminated by X'09'
    trailing nullcols
    (redbrojunos,
    broj,
    dolazak,
    odlazak nullif odlazak=blanks,
    komentar nullif komentar=blanks)
    And the datafile is:
    robertl.brojilo.nextval     1368     17.06.2003 08:02:46     17.06.2003 16:17:18     
    robertl.brojilo.nextval     2363     17.06.2003 08:18:18     17.06.2003 16:21:52     
    robertl.brojilo.nextval     7821     17.06.2003 08:29:22     17.06.2003 16:21:59     
    robertl.brojilo.nextval     0408     17.06.2003 11:20:27     17.06.2003 18:33:00     ispit
    robertl.brojilo.nextval     1111     17.06.2003 11:30:58     17.06.2003 16:09:34     Odlazak na ispit
    robertl.brojilo.nextval     6129     17.06.2003 14:02:42     17.06.2003 16:23:23     seminar
    But all records were rejected by the Loader, for every record I get the error:
    Record 1: Rejected - Error on table ROBERTL.TBLTEST, column REDBROJUNOS.
    ORA-01722: invalid number

  • IBM DB2 to Oracle Database Migration Using SQL Developer

    Hi,
    We are doing migration of the whole database from IBM DB2 8.2 which is running in WINDOWS to Oracle 11g Database in LINUX.
    As part of pre-requisites we have installed the Oracle SQL Developer 4.0.1 (4.0.1.14.48) in Linux Server with JDK 1.7. Also Established a connection with Oracle Database.
    Questions:
    1) How can we enable the Third Party Database Connectivity in SQL Developer?
    I have copied the files db2jcc.jar and db2jcc_license_cu.jar from the IBM DB2 (Windows) to Oracle (Linux)
    2) Will these JAR files are universal drivers? will these jar files will support in Linux platform?
    3) I got a DB2 full privileged schema name "assistdba", Shall i create a new user with the same name "assistdba" in the Oracle Database & grant DBA Privillege? (This is for Repository Creation)
    4) We have around 35GB of data in DB2, shall i proceed with ONLINE CAPTURE during the migration?
    5) Do you have any approx. estimation of Time to migrate a 35 GB of data?
    6) In-case of any issue during the migration activity, shall i get an support from Oracle Team (We have a Valid Support ID)?
    7) What are all the necessary Test Cases to confirm the status of VALID Migration?
    Request you to share the relevant metalink documents!!!
    Kindly guide me in-order to go-ahead with the successful migration.
    Thanks in Advance!!!
    Nagu
    [email protected]

    Hi Klaus,
    Continued with the above posts - Now we are doing another database migration from IBM DB2 to Oracle, which is very less of data (Eg: 20 Tables & 22 Indexes).
    As like previous database migration, we have done the pre-requirement steps.
    DB Using SQL Developer
    Created Migration Repository
    Connected with the created User in SQL Developer
    Captured the Source Database
    Converted Captured Model to Oracle
    Before Translation Phase we have clicked on the "Proceed Summary"
    Captured Database Objects & Converted Database Objects has been created under PROJECT section.
    Here while checking the status of captured & converted database objects, It's showing the below chart as sample:
    OVERVIEW
    PHASE               TABLE DETAILS          TABLE PCT
    CAPTURE               20/20                              100%
    CONVERT               20/20                              100%
    COMPILE                 0/20                                   0%
    TARGET STATUS
    DESC_OBJECT_NAME
    SCHEMANAME
    OBJECTNAME
    STATUS
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:ARG_I1:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:H0INDEX01:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:H1INDEX01:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:H2INDEX01:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:H3INDEX01:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:H4INDEX01:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:H4INDEX02:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:H5INDEX01:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:H7INDEX01:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:H7INDEX02:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:MAPIREP1:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:MAPISWIFT1:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:MAPITRAN1:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:OBJ_I1:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:OPR_I1:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:PRD_I1:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:S1TABLE01:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:STMT_I1:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:STM_I1:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:X0IAS39:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    We have seen only "Missing" in the chart, also we couldn't have any option to trace it in Log file.
    Only after the status is VALID, we can proceed with the Translation & Migration PHASE.
    Kindly help us how to approach this issue now.
    Thanks
    Nagu

  • For DB2 to Oracle conversion best practices

    My company is enhancing existing application adding newly J2ee web interface and database as DB2.I am new to J2EE. In future if we want to migrate my database to Oracle,which are the best things to do it now.
    Which J2EE framework is good in respecte JDBC connectivity and future migration of DB2 to Oracle? (Minimal changes at Migration Time)
    It is medium size application with 5000 users.Which are other best practises to follow in development keeping the migration in Mind. Thanks..

    Yes, you should login as system, create a user, appowner, or what ever you call it, and assign that user a default tablespace of 'USERS' or whatever tablespace you decide. Then, grant that user all the privileges to create objects, i.e., create table, create procedure, create synonym, etc, etc.
    Then, logout as system, login as appowner, and do all your object creation from there.
    A user is a set of credentials that allow you access to the system. It defines your identity and your privileges and authority to do various things. A schema is the set of objects owned by a particular user. As soon as a user owns at least one object, that implicitly defines his schema. It's not possible for a user to own or control multiple schemas. If you want multiple schemas, that's fine, but you'll need multiple users, and each user will manage his own schema.
    Hope that's clear,
    -Mark
    PS I strongly suggest you review the Concepts Guide, it really is quite good. It can be found here: http://download.oracle.com/docs/cd/E11882_01/server.112/e10713/toc.htm

  • MOS-01012 during Oracle Pre-Load phase system copy

    Hello,
    The problem is in phase 'Oracle Pre-Load Actions', we have error:
    MOS-01012  PROBLEM: '/sapmnt/Q02/exe/saplicense -R3Setup Q02 "OMLRUURS" TRACE=2' returned with '254' which is not a defined as a success code.
    Homogenous system copy, AIX, ORA 9.2.0.8
    I've checked a few things:
    - when I manually execute this command I have:
    Fri Jan 28 17:04:02 2011
    MtxInit: 0 0 0
    - R3trans -d is ok (rc 0000)
    - Q02 database is up
    - oracle listener is up
    - saplicense -show
    LICENSE system: Q02 hardware key: N1153195602 expiration_date: 99991231
            installation no: 0110004123 key: xxxxx
            userlimit: 0 productid: R3_ORA
            system-nr: 000000000310644498
    license useable ***
    - saplicense -get (returns N1153195602)
    - saplicense.log contain:
    Fri Jan 28 17:04:02 2011
    MtxInit: 0 0 0
    I'm stuck, no more idea...
    Best regards,
    MIchal
    dev_slic contains:
    SlicIGetDate: <20110129>
    SlicPwForR3Setup: calc password out of <Q0220110129FJAWFNLTL>
    SlicIGetDate: <20110129>
    SlicSapInstall: sysname: >Q02< connect: >1< rollback: >1<
    SlicIDbLock: first call to SlicIDbLock: initialize Mutex
    db_con_init called
    create_con (con_name=R/3)
    Loading DB library '/sapmnt/Q02/exe/dboraslib.o' ...
    load shared library (/sapmnt/Q02/exe/dboraslib.o), hdl 0
    Library '/sapmnt/Q02/exe/dboraslib.o' loaded
    function DbSlExpFuns loaded from library /sapmnt/Q02/exe/dboraslib.o
    Version of '/sapmnt/Q02/exe/dboraslib.o' is "640.00", patchlevel (0.220)
    function dsql_db_init loaded from library /sapmnt/Q02/exe/dboraslib.o
    function dbdd_exp_funs loaded from library /sapmnt/Q02/exe/dboraslib.o
    New connection 0 created
    0: name = R/3, con_id = -000000001 state = DISCONNECTED, perm = YES, reco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
    db_con_connect (con_name=R/3)
    find_con_by_name found the following connection for reuse:
    0: name = R/3, con_id = 000000000 state = DISCONNECTED, perm = YES, reco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
    Got ORACLE_HOME=/oracle/Q02/920_64 from environment
    -->oci_initialize (con_hdl=0)
    got NLS_LANG='AMERICAN_AMERICA.UTF8' from environment
    ERROR => OCI-call 'OCIEnvCreate(mode=16384)' failed: rc = -1 [dboci.c      2287]
       set_ocica() -> OCI or SQL return code -1
    ERROR => OCI-call 'OCIErrorGet' failed: rc = -2 [dboci.c      2081]
    -->oci_initialize (con_hdl=0)
    got NLS_LANG='AMERICAN_AMERICA.UTF8' from environment
    Client NLS settings:
    Logon as OPS$-user to get SAPQ02's password
    Connecting as /@Q02 on connection 0 (nls_hdl 0) ... (dbsl 640 070308)
    Nls CharacterSet                 NationalCharSet              C      EnvHp      ErrHp ErrHpBatch
      0                                                           0      (nil)      (nil)      (nil)
    Allocating service context handle for con_hdl=0
    ERROR => OCI-call 'OCIHandleAlloc' failed: rc = -2 [dboci.c      2830]
    ERROR => CONNECT failed with sql error '-2' [dbsloci.c    11395]
       set_ocica() -> OCI or SQL return code -2
    ERROR => OCI-call 'OCIErrorGet' failed: rc = -2 [dboci.c      2081]
    Try to connect with default password
    Connecting as SAPQ02/<pwd>@Q02 on connection 0 (nls_hdl 0) ... (dbsl 640 070308)
    Nls CharacterSet                 NationalCharSet              C      EnvHp      ErrHp ErrHpBatch
      0                                                           0      (nil)      (nil)      (nil)
    Allocating service context handle for con_hdl=0
    ERROR => OCI-call 'OCIHandleAlloc' failed: rc = -2 [dboci.c      2830]
    ERROR => CONNECT failed with sql error '-2' [dbsloci.c    11395]
       set_ocica() -> OCI or SQL return code -2
    ERROR => OCI-call 'OCIErrorGet' failed: rc = -2 [dboci.c      2081]
    Edited by: Michal Sarna on Jan 29, 2011 4:37 PM

    > Got ORACLE_HOME=/oracle/Q02/920_64 from environment
    > -->oci_initialize (con_hdl=0)
    > got NLS_LANG='AMERICAN_AMERICA.UTF8' from environment
    > *** ERROR => OCI-call 'OCIEnvCreate(mode=16384)' failed: rc = -1 [dboci.c      2287]
    >    set_ocica() -> OCI or SQL return code -1
    > *** ERROR => OCI-call 'OCIErrorGet' failed: rc = -2 [dboci.c      2081]
    > -->oci_initialize (con_hdl=0)
    Did you install the Oracle 9.2.0.8 client? Or did you link the binaries from the ORACLE_HOME? Or are you using the Oracle client from the installation DVD?
    Markus

  • Oracle Pre-Load Actions error

    HI All,
    I am trying to install SAP R/3 4.7 IDES, Oracle 9 with patch 9.2.0.3.0 on 2003 Server SP2. I have encountered the following error during Database Instance installation step of Oracle Pre-load Actions .
    CJS-00084 SQL Statement or Script failed. Error Message: Executable C:\oracle\ora92/bin/sqlplus.exe returns 3.
    ERROR 2007-06-13 10:25:46
    FJS-00012 Error when executing script.
    I have already tried following solutions.
    1) directory C:\oracle\ora92/bin/sqlplus.exe is there I able to connect as sysdba
    2) I changed “C:\SAPinst_Oracle_KERNEL" name with no spaces
    3) Installed Oracle without installing Database.
    I think I am making a mistake in following two steps.
    1) I did installed Ms Loop Back adapter but what exact entry I need to put in Host file?
    2) When I installed Oracle and run “Sapserver.cmd” file, windows message popup and ask which program I want to use to open “Sapserver.rsp” file and I choose notepad.
    After Oracle installed, I run some Sqlplus commands and able to connect as sysdba but listener status command showing one listener is running and other status unknow. After installation stop, Listener status giving TNS adapter error.
    Please help.

    >> have already tried following solutions.
    >>1) directory C:\oracle\ora92/bin/sqlplus.exe is there I able to connect as sysdba
    >>2) I changed “C:\SAPinst_Oracle_KERNEL" name with no spaces
    >>3) Installed Oracle without installing Database.
    never change the directory name of SAPinst working directory. It is designed in this version to use a directory with spaces and it will work with it.
    What you should not do is to copy additional CDs (like Export, Kernel) into directories having blanks in the path.
    >>1) I did installed Ms Loop Back adapter but what exact entry I need to put in Host file?
    >>2) When I installed Oracle and run “Sapserver.cmd” file, windows message popup and ask which program I want to use to open “Sapserver.rsp” file and I choose notepad.
    That should not happen at all.
    The response file is opened by Oracle's setup.exe which is invoked by sapserver.cmd. Is the Oracle CD located on a directory containing blanks?
    Peter

Maybe you are looking for

  • Help Please - X200 will not boot after Bios Upgrade - keeps asking for power on password

    Hi there, I am new to this forum and please let me say a big Thank You for your help in advance. I am using a lenovo thinkpad x200 running windows vista with service pack 1.  The laptop has always been running fine and has never given me any issues.

  • Error while importing the .txt file for SAP script to another system.

    Hi Gurus, I'm trying to import the .txt file exported (using RSTXSCRP) from one system to another.But getting the following error on the destination system  (4.6C).I'm able to import the same file on all other releases (Like 470 500,600,604). "ERROR:

  • Hp color laserjet cm6040 mfp unkon non hp black drum

    hp color laserjet cm6040 mfp unkon non hp black drum tecnical support for hp printing

  • Screen is faulty and fuzzy.

    Ive had my 4th gen nano for some time and in that time the screen has gone fuzzy a few times as in diagonal serrated lines across the screen making it difficult to see what Im doing. In the past simple manual resets would fix this, then I had to use

  • ISSUE-PLZ HELP

    When the user Miro  Generating:- 1. Give the Ref.No.Business places, service Sheet No. and  the G/L No.. its take in production server, But here actual its upated Medical Aid,G/l But its comes in Rawmaterial exemption,account  i.e not relevant accoun