互联网服务loadlobs from

远程load 加lobs from报错

两台机器A,B
在客户端A上load数据到服务器B数据库,加上lobs from报错,去掉可以,这是怎么回事呢?
报错SQL3025N  A parameter specifying a filename or path is not valid.
但是lobs from后的路径在A主机上是存在的


请各位帮忙分析下原因,谢谢!!
参与15

14同行回答

tynasunnytynasunnyQA工程师化工
For Remote LOAD, you have to copy or mount LOBS FROM or XML FROM directory to the remote DB2 server otherwise LOAD will fail.显示全部
For Remote LOAD, you have to copy or mount LOBS FROM or XML FROM directory to the remote DB2 server otherwise LOAD will fail.收起
机械装备 · 2014-08-12
浏览1573
weiruan85weiruan85数据库管理员ibm
回复 13# kld208     你把路径写全试试。显示全部
回复 13# kld208


    你把路径写全试试。收起
政府机关 · 2014-08-11
浏览1443
kld208kld208系统架构师yucheng
回复 7# weiruan85    兄弟,帮忙看下应该如何处理呢,谢谢!显示全部
回复 7# weiruan85


   兄弟,帮忙看下应该如何处理呢,谢谢!收起
互联网服务 · 2014-08-08
浏览1459
kld208kld208系统架构师yucheng
回复 10# kld208    兄弟,帮忙看下应该如何处理呢,谢谢显示全部
回复 10# kld208


   兄弟,帮忙看下应该如何处理呢,谢谢收起
互联网服务 · 2014-08-08
浏览1471
kld208kld208系统架构师yucheng
各位有知道啥原因的不,多谢了显示全部
各位有知道啥原因的不,多谢了收起
互联网服务 · 2014-08-07
浏览1675
kld208kld208系统架构师yucheng
回复 7# weiruan85    不好意思,刚才语句执行失败了。SQL3126N  Remote client requires absolute path for files and directories.显示全部
回复 7# weiruan85


   不好意思,刚才语句执行失败了。
SQL3126N  Remote client requires absolute path for files and directories.收起
互联网服务 · 2014-08-06
浏览1699
kld208kld208系统架构师yucheng
回复 7# weiruan85 我之前发的语句,只要去掉“del lobs from /home/umipdata/data/dbbak/20140702/”是可以导入的,加上就报错。  db2 "load client  from /home/umipdata/data/dbbak/20140702/UMIPDATA_PUB_BAK_STATUS.del of del lobs from /home/um...显示全部
回复 7# weiruan85

我之前发的语句,只要去掉“del lobs from /home/umipdata/data/dbbak/20140702/”是可以导入的,加上就报错。

  db2 "load client  from /home/umipdata/data/dbbak/20140702/UMIPDATA_PUB_BAK_STATUS.del of del lobs from /home/umipdata/data/dbbak/20140702/  modified by codepage=1386 NOROWWARNINGS dumpfile=M:/logs/20140805/dump//UMIPDATA_PUB_BAK_STATUS.rej coldel0x03 keepblanks nochardel usedefaults  lobsinfile  messages /home/umipdata/log/dbbak/20140805/msg//msg.load.UMIPDATA_PUB_BAK_STATUS  insert into UMIPDATA.PUB_BAK_STATUS    data buffer 1000"收起
互联网服务 · 2014-08-06
浏览1764
kld208kld208系统架构师yucheng
回复 7# weiruan85 执行成功Number of rows read         = 1Number of rows skipped      = 0Number of rows loaded       = 0Number of rows rejected     = 1Number of ...显示全部
回复 7# weiruan85

执行成功
Number of rows read         = 1Number of rows skipped      = 0
Number of rows loaded       = 0
Number of rows rejected     = 1
Number of rows deleted      = 0
Number of rows committed    = 1收起
互联网服务 · 2014-08-06
浏览1635
weiruan85weiruan85数据库管理员ibm
cd  /home/umipdata/data/dbbak/20140702/db2 "load client  from UMIPDATA_PUB_BAK_STATUS.del of del lobs from  .   modified by codepage=1386  sert into UMIPDATA.PUB_BAK_STATUS   " 试试,把结果贴...显示全部
cd  /home/umipdata/data/dbbak/20140702/

db2 "load client  from UMIPDATA_PUB_BAK_STATUS.del of del lobs from  .   modified by codepage=1386  sert into UMIPDATA.PUB_BAK_STATUS   "

试试,把结果贴一下。收起
政府机关 · 2014-08-06
浏览1709
weiruan85weiruan85数据库管理员ibm
LOBS FROM lob-path    The path to the data files containing LOB values to be loaded. The path must end with a slash. If the CLIENT option is specified, the path must be fully qualified. The names of the LOB data files are stored in the main...显示全部
LOBS FROM lob-path
    The path to the data files containing LOB values to be loaded. The path must end with a slash. If the CLIENT option is specified, the path must be fully qualified. The names of the LOB data files are stored in the main data file (ASC, DEL, or IXF), in the column that will be loaded into the LOB column. The maximum number of paths that can be specified is 999. This will implicitly activate the LOBSINFILE behavior.

    This option is ignored when specified in conjunction with the CURSOR file type.收起
政府机关 · 2014-08-06
浏览1743

提问者

kld208
系统架构师yucheng

问题状态

  • 发布时间:2014-08-05
  • 关注会员:1 人
  • 问题浏览:9336
  • 最近回答:2014-08-12
  • X社区推广