Author: Rohit Umarjikar
Posted: Fri Oct 14, 2016 8:39 pm (GMT 5.5)
Welcome!!
DATEN (German- lang) -- > Data (English- Lang)
1. You cannot be able to do this because DB2 wants one ROW at a time, so you would need to have some kind of loop where WS-DATEN is moved to another variable of 1024 size and then use that <another variable> in the same insert query and perform this until 500 times or WS-DATEN=SPACES
2. Look for MULTI INSERT where you can provide # of rows that you are inserting.
So next time, provide us the error messages along with the SQL and there is something called "BB Codes" which you can use representing the data.
_________________
Regards,
Rohit Umarjikar
"Knowledge is knowing that a tomato is a fruit, but Wisdom is knowing not to put it in a fruit salad."![icon_razz.gif]()
Posted: Fri Oct 14, 2016 8:39 pm (GMT 5.5)
Welcome!!
DATEN (German- lang) -- > Data (English- Lang)
1. You cannot be able to do this because DB2 wants one ROW at a time, so you would need to have some kind of loop where WS-DATEN is moved to another variable of 1024 size and then use that <another variable> in the same insert query and perform this until 500 times or WS-DATEN=SPACES
2. Look for MULTI INSERT where you can provide # of rows that you are inserting.
So next time, provide us the error messages along with the SQL and there is something called "BB Codes" which you can use representing the data.
_________________
Regards,
Rohit Umarjikar
"Knowledge is knowing that a tomato is a fruit, but Wisdom is knowing not to put it in a fruit salad."
