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

When I am looking into the table ,the table is not updated


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

New User


Joined: 14 Mar 2007
Posts: 24
Location: gurgaon

PostPosted: Thu May 17, 2007 10:20 am
Reply with quote

Hi
I am facing a trouble in updating the table.
The problem is when i am executing the program and displaying the values after the update query , the values are updated values.

But when I am looking into the table ,the table is not updated.
Back to top
View user's profile Send private message
Phrzby Phil

Senior Member


Joined: 31 Oct 2006
Posts: 1042
Location: Richmond, Virginia

PostPosted: Thu May 17, 2007 5:42 pm
Reply with quote

I thought rows are updated, not columns, and that it is the rows that are indexed.
Back to top
View user's profile Send private message
krishnasaikiah

New User


Joined: 14 Mar 2007
Posts: 24
Location: gurgaon

PostPosted: Fri May 18, 2007 8:45 am
Reply with quote

I am updating a particular column and it is not getting updated into the table but while i am executing the same update query in spufi, it is updating the table as desired.

Somebody if finds a clue to what should be the solution to my problem,please help .

thanks,
Krishna
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Sat May 19, 2007 2:36 am
Reply with quote

Hello,

It sounds like your update is not being committed or something is specifically causing a rolback.
Back to top
View user's profile Send private message
krishnasaikiah

New User


Joined: 14 Mar 2007
Posts: 24
Location: gurgaon

PostPosted: Mon May 21, 2007 11:03 am
Reply with quote

ya thanks dick...
m trying to figure out the problem...though not yet successful.
Back to top
View user's profile Send private message
kgumraj

Active User


Joined: 01 May 2006
Posts: 151
Location: Hyderabad

PostPosted: Mon May 21, 2007 10:33 pm
Reply with quote

Hi,

We too had similar problem, I feel it is with the variables declared.
Check whether the precomplilation step is warnig free, if it has waring dont ingnore that.

We approched this by moving FD variable to WS and then inserted/ updated it worked fine..

beter check this..
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Tue May 22, 2007 3:11 am
Reply with quote

Hello,

As a test, you could put a checkpoint in the code just after the update and end the program. The update should be in the table at that time. If the updated data is in the row(s), the code is either never issiung as checkpoint or it is (or some called module is) issuing a rollback.

Good luck and we're here when you have news icon_smile.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Load new table with Old unload - DB2 DB2 6
No new posts Pulling a fixed number of records fro... DB2 2
No new posts Multiple table unload using INZUTILB DB2 2
No new posts Check data with Exception Table DB2 0
No new posts Dynamically pass table name to a sele... DB2 2
Search our Forums:

Back to Top