Results 1 to 6 of 6
  1. #1
    Join Date
    Sep 2012
    Posts
    177

    Unanswered: Need help for import the records..

    Hi all,

    In our setup db2 v9.7 with fixpack 3 in windows environment.

    I am trying to import the records. But the query completed successfully.

    But the records are not inserted to the table.

    CONNECT TO XXXX USER "db2admin";
    IMPORT FROM "C:\DB2tables\DB2 TABLES\tab378.ixf" OF IXF MESSAGES "C:\DB2tables\DB2 TABLES\tab378.msg" INSERT INTO "db2DWH".TIS_LOC_TFM_CNDDT_LANE;
    CONNECT RESET;


    Number of rows read = 2000
    Number of rows skipped = 0
    Number of rows inserted = 0
    Number of rows updated = 0
    Number of rows rejected = 2000
    Number of rows committed = 2000

    SQL3107W There is at least one warning message in the message file.

    I am getting the error also, As i googled for that but no impact of this error it means?

    Could you please give the suggestions how to import the records to the table.

    Thanks,
    laxman...

  2. #2
    Join Date
    Apr 2006
    Location
    Belgium
    Posts
    2,514
    Provided Answers: 11
    Number of rows rejected = 2000
    look in the message file C:\DB2tables\DB2 TABLES\tab378.msg
    Best Regards, Guy Przytula
    Database Software Consultant
    Good DBAs are not formed in a week or a month. They are created little by little, day by day. Protracted and patient effort is needed to develop good DBAs.
    Spoon feeding : To treat (another) in a way that discourages independent thought or action, as by overindulgence.
    DB2 UDB LUW Certified V7-V8-V9-V9.7-V10.1-V10.5 DB Admin - Advanced DBA -Dprop..
    Information Server Datastage Certified
    http://www.infocura.be

  3. #3
    Join Date
    Sep 2012
    Posts
    177
    Hi guy,

    Thanx for you kind reply.

    Initially the table records in linux platform, and i took the db2move and tried to import the records.


    If any other way to move the entire schema from linux platform to windows platform?

    Thanks,
    laxman...

  4. #4
    Join Date
    Apr 2006
    Location
    Belgium
    Posts
    2,514
    Provided Answers: 11
    use db2move
    Best Regards, Guy Przytula
    Database Software Consultant
    Good DBAs are not formed in a week or a month. They are created little by little, day by day. Protracted and patient effort is needed to develop good DBAs.
    Spoon feeding : To treat (another) in a way that discourages independent thought or action, as by overindulgence.
    DB2 UDB LUW Certified V7-V8-V9-V9.7-V10.1-V10.5 DB Admin - Advanced DBA -Dprop..
    Information Server Datastage Certified
    http://www.infocura.be

  5. #5
    Join Date
    Sep 2012
    Posts
    177
    Hi guy,

    Even i tried the same.

    I used the db2move command....

    Tables structures are created in the windows environment...

    I took the db2move dbname export ( and the tables are exported)

    In the windows environment i tried to import the records, db2move.lst in this path:

    C:\DB2tables\db2move.lst

    db2move XXXX -io import C:\DB2TABLES\db2move.list

    I am getting the below error:
    ======================

    Application code page not determined, using ANSI codepage 1252
    *** Error: Invalid ACTION. Must be EXPORT, IMPORT, LOAD, or COPY!
    *** Use "db2move -help" for usage.

    **Invalid parameters specified..


    Could you Please give me the suggestions how to use the db2move command....


    Thanks,
    laxman...

  6. #6
    Join Date
    Apr 2006
    Location
    Belgium
    Posts
    2,514
    Provided Answers: 11
    for correct syntax see :
    db2move - Database Movement Tool
    Best Regards, Guy Przytula
    Database Software Consultant
    Good DBAs are not formed in a week or a month. They are created little by little, day by day. Protracted and patient effort is needed to develop good DBAs.
    Spoon feeding : To treat (another) in a way that discourages independent thought or action, as by overindulgence.
    DB2 UDB LUW Certified V7-V8-V9-V9.7-V10.1-V10.5 DB Admin - Advanced DBA -Dprop..
    Information Server Datastage Certified
    http://www.infocura.be

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •