Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

TVARVC table not getting updated properly

Former Member
0 Likes
2,271

Hi,

We are facing a strange problem...

First job runs to update TVARVC variable to a new value...let say 6 to 7....

Second job which runs immediatly after first job uses this variable in TVARVC to read the value picks up old value instead of new value....i.e. its using 6 instead of 7.

Also TVARVC variable is Fully Buffered table...Can anyone tell me eventhough this variable is updated with new value, why second job is picking old value..??? also i dint see any COMMIT WORK after updating TVARVC in program...i doubt if buffered and no commit work causing the issue...any thoughts???

Expecting your help.

Thanks

Hari

Hi,

We are facing a strange problem...

First job runs to update TVARVC variable to a new value...let say 6 to 7....

Second job which runs immediatly after first job uses this variable in TVARVC to read the value picks up old value instead of new value....i.e. its using 6 instead of 7.

Also TVARVC variable is Fully Buffered table...Can anyone tell me eventhough this variable is updated with new value, why second job is picking old value..??? also i dint see any COMMIT WORK after updating TVARVC in program...i doubt if buffered and no commit work causing the issue...any thoughts???

Expecting your help.

Thanks

Hari

4 REPLIES 4
Read only

Former Member
0 Likes
1,473

Hi Hari,

Is your update and the program that uses the update in the same LUW? You can create a function module, and run it "in update task". Then update your TVARV table, and run the other program from the function module.

This will put all the programs in the same LUW.

If for some reason your update to TVARV doesn't happen, and it abends, your other program will not be executed.

Just a thought,

Michelle

Read only

Former Member
0 Likes
1,473

Buffering Problem. Resolved myself

Read only

0 Likes
1,473

Hi,

How did u resolve the buffering problem. I have the same issue.

Regards,

Bathula

Read only

Gerald_50
Explorer
0 Likes
1,473

Hi Hari Nair,

Could you explain how you solved the buffer issue? Would be very helpfull, thx a lot

regards,

Gerald