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

SQL0302N - The value of a host variable in the EXECUTE or OPEN statement - Bulk Copy

$
0
0
HI,

i am migrating the database from MS Acces to DB2. i am using my own tool to do this...
I have used API, DB2BulkCopy.WriteToServer(table).
in my table i have 227587 rows...
Out of this 9000+ records are not moved to db2.
All the 9000+ records doesnt have any problem....to confirm this... i removed all the other records and kept these 9000+ records and tried to insert... Now all the records are migrated successfully.

and when trying to insert those records i received the error code
"SQL0302N - The value of a host variable in the EXECUTE or OPEN statement statement is out of range for its corresponding use"

Problem happens when i try bulk copy. what could be be problem.. ? any idea...


I am using,
"DB2 v9.7.400.501", and Fix Pack 4

Product name: "DB2 Express-C"
License type: "Unwarranted"
Expiry date: "Permanent"
Product identifier: "db2expc"
Version information: "9.7"
Max number of CPUs: "2"
Max amount of memory (GB): "2"

thanks.
Mani

Viewing all articles
Browse latest Browse all 13329

Trending Articles