Solved

putovr

Posted on 2009-04-10
4
820 Views
Last Modified: 2012-05-06
what is the use of putovr,ovrdta and ovratr keyword.
please give some example

0
Comment
Question by:Bsidmis
  • 2
4 Comments
 
LVL 34

Accepted Solution

by:
Gary Patterson earned 75 total points
Comment Utility
0
 

Author Comment

by:Bsidmis
Comment Utility
hi,
I am not satisfied with the solution.
Please provide some better example
thanks.
bsidmis
0
 
LVL 34

Assisted Solution

by:Gary Patterson
Gary Patterson earned 75 total points
Comment Utility
The accepted solution in the link that I provided you explains the function of each keyword, links to the relevant IBM manuals, and links to usage examples.  Here's the relevant section of my response to the above:

"... PUTOVR (plus OVRATR and OVRDTA) allows you to alter the attributes or contents of fields already on the display in order to reduce the amount of data that is sent when a screen doesn't need to be changed much.  It is there to allow you to save communications bandwidth.  It doesn't allow you to do anything that you can't do by sending the whole screen (or a whole record format).  For example, if you already have an entire screen displayed,and you just need to change the contents of one field, or change the attribute of one field, then you use PUTOVR at the record format level to tell the system that it does not need to send the entire record format every time, and you specify and condition OVRDTA or OVRATR at the field level to indicate that you are just going to update that particular field or attribute.See page 3-18 of the Application Display Programming manual for details and examples."
What else would you like to know?  I'm happy to help.

- Gary Patterson
0
 
LVL 14

Assisted Solution

by:daveslater
daveslater earned 50 total points
Comment Utility
Bsidmis:
PutOvr, OvrDta & Ovratr are techniques of a bygone age of slow communication via twinx and speeds were measured in bits per second and not Mbites per second.

It basically reduces the amount of traffic that is sent to display typically when validating.

Say you had a screen with 10 i/o fields on it, you could specify OvrAtr with the error indicators. That way when you showed a field in error the system would simply send down the attribute changes and not the data.
The OvrDta would be used to pass down some descriptive text, ie you have a city code and you wanted to pass down the City Name, OveDta could be set on the field to download the Description once, the after that it would stay on the screen but the data would not be passed from the program to the screen.

PutOvr is need  if you are using OvrDta or OvrAtr.

Programmers use to take advantage of some of the results to program pop-up windows (although I never understood why they simply did not use CLRL(*NO)  ) before the window keyword.

My advice is, unless you are using a very slow communication protocol,  to leave the keywords alone they bring little to the party and can cause unexpected results that can be a headache to sort out.


Dave
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

In this article, you will read about the trends across the human resources departments for the upcoming year. Some of them include improving employee experience, adopting new technologies, using HR software to its full extent, and integrating artifiā€¦
Scam emails are a huge burden for many businesses. Spotting one is not always easy. Follow our tips to identify if an email you receive is a scam.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now