Solved

putovr

Posted on 2009-04-10
4
841 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 35

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 35

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

The conference as a whole was very interesting, although if one has to make a choice between this one and some others, you may want to check out the others.  This conference is aimed mainly at government agencies.  So it addresses the various compli…
In this blog we highlight approaches to managed security as a service.  We also look into ConnectWise’s value in aiding MSPs’ security management and indicate why critical alerting is a necessary integration.
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

691 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