Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
V8 - Multi insert Query required in DB2storeproc

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
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    Post subject: V8 - Multi insert Query required in DB2storeproc
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

Site Director


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

PostPosted: Sun Dec 02, 2007 2:09 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts HEX value search in a DB2 query maxsubrat DB2 2 Wed Oct 04, 2017 3:04 pm
No new posts How to insert a value on specific pos... Poha Eater DFSORT/ICETOOL 9 Sun Oct 01, 2017 3:04 am
No new posts Insert a Row_number into table useit DB2 2 Tue Sep 19, 2017 1:07 pm
No new posts Create procedure issues -628 when add... chandraBE DB2 1 Mon Sep 18, 2017 12:16 pm
No new posts Can we limit length in concatenation ... balaji81_k DB2 7 Tue Aug 22, 2017 2:50 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us