Hi folks!
I'm inserting recods into DB2 table from a text file with the IMPORT COMMAND (the file is a coma delimiter).
Example:
ID1,value1, value2
ID2,value1, value2
ID3,value1, value2
ID4,value1, value2
I using something like this:
import from file_name of del insert into table_name (field1, field2, field3)
My question is:
How can I get the recods rejected at the end import command?.
I want to do a report for my user in order to say:
There were some records rejected.
A show a list with the recods rejected.
ID1,value1, value2
ID3,value1, value2
Thanks in advance.
Cesar
I'm inserting recods into DB2 table from a text file with the IMPORT COMMAND (the file is a coma delimiter).
Example:
ID1,value1, value2
ID2,value1, value2
ID3,value1, value2
ID4,value1, value2
I using something like this:
import from file_name of del insert into table_name (field1, field2, field3)
My question is:
How can I get the recods rejected at the end import command?.
I want to do a report for my user in order to say:
There were some records rejected.
A show a list with the recods rejected.
ID1,value1, value2
ID3,value1, value2
Thanks in advance.
Cesar