Solved

putovr

Posted on 2009-04-10
4
830 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
ID: 24123950
0
 

Author Comment

by:Bsidmis
ID: 24127996
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
ID: 24134846
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
ID: 24149657
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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Issue executing Update Query via ODBC to a remote iSeries in Access 2010 7 607
Access Remote iSeries IFS 6 309
best way to update esxi hosts 6 127
SQL400 max size 5 96
This problem is more common than not and I will show you some things to check to solve this problem.
Read about the importance of offline branding in the digital age.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

825 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