Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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 Join in SQL Query vickey_dw DB2 0 Tue Jan 17, 2017 12:15 am
This topic is locked: you cannot edit posts or make replies. MQ setup query mohitsaini Java & MQSeries 4 Sun Jan 08, 2017 1:53 am
No new posts DB2 query Using Recursion, Converting... smilewithashu2 DB2 1 Tue Jan 03, 2017 12:50 pm
No new posts SQL query to run through list of valu... Ni3-db2 DB2 14 Wed Dec 14, 2016 9:52 am
This topic is locked: you cannot edit posts or make replies. Db2 SQL query to convert rows into co... subratarec DB2 5 Thu Nov 17, 2016 4:51 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us