Quantcast
Channel: dBforums – Everything on Databases, Design, Developers and Administrators
Viewing all articles
Browse latest Browse all 13329

db2batch -w switch and import operation

$
0
0
Hello
I am using db2 10.5 with fixpack 4. What i try to achieve is to measure time of importing varius size of blob and measure their read time. I am using table test with columns id of integer type and data of blob with length 2147483647.

Now to the point: for measure reading i am using db2batch - works fine but... i keep getting cli that readed row was truncated. Currently biggest file in table has 12 MB and while running db2batch im using: db2batch -d SAMPLE -a ADMINISTRATOR -f c:\batch.sql -r c:\results.txt -w 2147483647. According to documentation -w is right thing to use if we want to specify how long row can be read but it doesnt seems to be working for me ;/

Second thing: For import i am using command: import from c:\import.dta of del lobs from c:\images modified by lobsinfile insert into administrator."test"

that command works fine in command line but while trying to use it in db2batch i get error regarding backslash.. so my question is - is there a way to "escape" this character so it will be processed by db2batch or is there any other way to make command like that work in db2batch?

Viewing all articles
Browse latest Browse all 13329

Trending Articles