Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2007
    Posts
    33

    Unanswered: Error during db2load with dumpfile

    Hi,

    I am using db2 udb v8.2 on linux.
    I am trying to use dumpfile with path. It works fine in windows, but when use in linux it fails with following error:

    load client from "/home/db2inst3/db2load/inputfile/ivrdata.del" of del modified by coldel| dumpfile="/home/db2inst3/db2load/log/a.dmp" dateformat="YYYYMMDD" timeformat="HHMM" USEDEFAULTS savecount 50 messages "/home/db2inst3/db2load/mesg.db2load" replace into schema.case_ivr(col1,col2) FOR EXCEPTION schema.CASE_EXCP NONRECOVERABLE indexing mode autoselect
    SQL2036N The path for the file or device
    "/home/db2inst3/db2load/log/a.dmp.load.000" is not valid.

    but when I used dumpfile="/tmp/a.dmp" it worked, but I cannot see the a.dmp in /tmp folder...

    I read some article and it says permission issue. I tried to chmod 777 to the log folder, but same errors.

    Any idea why I am getting this issue.

    Thanks
    Diwakar

  2. #2
    Join Date
    Aug 2001
    Location
    UK
    Posts
    4,650
    Look for /tmp/a.dmp.000

    To confirm the path is 'write'able, as instance owner :
    touch /home/db2inst3/db2load/log/test

    May be one of the parent directories do have have execute permission for the instance owner

    HTH

    Sathyaram
    Visit the new-look IDUG Website , register to gain access to the excellent content.

  3. #3
    Join Date
    Jan 2007
    Posts
    33
    Sathya,

    I have verified it. I can see
    -rw-rw-rw- 1 db2inst3 db2grp1 0 Apr 5 13:22 a.dmp.load.000

    but it does not write the rejected rows to this file.....

    I also verified the directory. Here is the o/p:

    [db2inst3@bosidb2 db2inst3]$ touch /home/db2inst3/db2load/log/test
    [db2inst3@bosidb2 db2inst3]$

    Still it does not work.
    Thanks
    Diwakar

  4. #4
    Join Date
    Aug 2001
    Location
    UK
    Posts
    4,650
    Your notify log and diag log may give more information.
    Sathyaram
    Visit the new-look IDUG Website , register to gain access to the excellent content.

  5. #5
    Join Date
    Jan 2007
    Posts
    33
    I have checked notify and db2diag log, but I did not find any entry..

    Any idea why I am not able to see the file.

Posting Permissions

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