Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Multi-row UPDATE - DB2 10 for Z/OS (Mainframes)

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
jdeeponline

New User


Joined: 08 Sep 2009
Posts: 27
Location: Charlotte

PostPosted: Tue Mar 26, 2013 3:54 pm    Post subject: Multi-row UPDATE - DB2 10 for Z/OS (Mainframes)
Reply with quote

While exploring oppurtunities to quicken a load process in our application's database, the multi-row insert feauture on DB2 10 helped improve the time and efficieny in loading bulk data.

Is there a similar option on the UPDATE, that could update multiple rows using Host Variables? Despite multiple efforts, I couldn't come across this in any of the materials available on the net.
Back to top
View user's profile Send private message

sushanth bobby

Senior Member


Joined: 29 Jul 2008
Posts: 1013
Location: India

PostPosted: Tue Apr 02, 2013 4:00 pm    Post subject:
Reply with quote

Hi jdeeponline,

Try MERGE statement, it can update multiple rows using host variables, but be careful, if the row you are trying to update is not found, the statement will go for insert.

Thanks,
Sushanth
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 IBM z15 mainframes Robert Sample All Other Mainframe Topics 1 Fri Sep 13, 2019 2:05 am
No new posts refresh data from production - update... jzhardy DB2 1 Mon May 06, 2019 5:06 pm
No new posts Need suggestion on CICS READ UPDATE subratarec CICS 8 Fri May 03, 2019 2:23 pm
No new posts Transferring file to Mainframes Shinoj Vijayakumar IBM Tools 3 Thu Dec 06, 2018 2:35 pm
No new posts Break Auto update screen without message packerm TSO/ISPF 2 Wed Oct 03, 2018 2:44 pm

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