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
 
Can I update other columns during processing

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

New User


Joined: 06 Mar 2006
Posts: 50
Location: PUNE

PostPosted: Wed Apr 12, 2006 1:19 pm    Post subject: Can I update other columns during processing
Reply with quote

Hi all,
I have five columns C1.........C5,

While declaring cursor , If I declare cursor with update option only for column C1, In this case can I update other columns during processing?


Regards
ANAND
Back to top
View user's profile Send private message

unni_nss

New User


Joined: 20 Sep 2005
Posts: 19

PostPosted: Wed Apr 12, 2006 4:54 pm    Post subject: Re: cursor related
Reply with quote

hi,
its not possible.you may be coding like update option as,

DECLARE CURSOR cursr_name ON table_name UPDATE column_name SET column_name = value etc.

So in this case you can update the column name what we mentioned in the cursor!
Back to top
View user's profile Send private message
sri.mainframes

New User


Joined: 16 Feb 2006
Posts: 29
Location: MUMBAI

PostPosted: Mon Apr 17, 2006 7:15 pm    Post subject:
Reply with quote

Hi Anand,

You want to update the table or cursor?
if u want to update the table, it is not possible while processing.
if u want to declare one more cursor it's not allowing u becoz the table is in use

correct me if i am wrong

thanks
sri.prince
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 MXG - Processing Compressed DB2 SMF r... vasanthz All Other Mainframe Topics 2 Thu May 10, 2018 12:47 am
No new posts VSAM file NOT Found error while proce... SumaReva CICS 5 Wed Apr 11, 2018 9:54 pm
No new posts help to replace columns by rows Vikas Maharnawar DFSORT/ICETOOL 8 Tue Mar 06, 2018 3:27 pm
No new posts Need Guidance regarding UPDATE query Poha Eater DB2 3 Mon Feb 12, 2018 11:35 pm
No new posts Where to get sample for processing RM... vice_versa PL/I & Assembler 2 Tue Jan 16, 2018 2:03 pm

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