swarna_lathas
New User
Joined: 23 Nov 2007 Posts: 1 Location: bangalore
|
|
|
|
Hi All,
My input is a string which is in the format of coma and semicolon
each row will end with a semicolon ( ;)
123,name, , 34.78,........................;
i have to insert this string of data into a table.
I know V8 has the multi insert option and we cloud do in COBOLDB2Storeprco by
--unstring the data with ;
--unstring the data with ,
and then put all the data into arrary variables.
This array will be inserted into tables using the MULTI insert option in V8
I would like to know if this can be done in DB2Store proc |
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello swarna_lathas and welcome to the forums,
The reason no one has replied is most likely because your question is not understood. Keep in mind that while your question is completely clear to you it might not be to those who read it.
If you post the definition of the table(s) involved and the expected output from your process, you will probably get some useful replies.
My guess is that you can implement your requirement in a stored procedure - most things that can be done in a query can be done in a stored procedure. |
|