IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

V8 - Multi insert Query required in DB2storeproc


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
swarna_lathas

New User


Joined: 23 Nov 2007
Posts: 1
Location: bangalore

PostPosted: Tue Nov 27, 2007 8:15 pm
Reply with quote

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
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19243
Location: Inside the Matrix

PostPosted: Sun Dec 02, 2007 2:09 am
Reply with quote

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.
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts DB2 Query to get the count of Unique ... DB2 2
No new posts Sort to insert record in an empty file. DFSORT/ICETOOL 5
No new posts Help required to reset decimal points... DFSORT/ICETOOL 10
No new posts Need help with ADABAS query (COBOL-AD... All Other Mainframe Topics 1
No new posts RC query -Time column CA Products 3
Search our Forums:


Back to Top