?
Solved

putovr

Posted on 2009-04-10
4
Medium Priority
?
846 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 225 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 225 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 150 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: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone 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

Active Directory can easily get cluttered with unused service, user and computer accounts. In this article, I will show you the way I like to implement ADCleanup..
In today's business world, data is more important than ever for informing marketing campaigns. Accessing and using data, however, may not come naturally to some creative marketing professionals. Here are four tips for adapting to wield data for insi…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

743 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