× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



If I am understanding you correctly, I would:
- load the subfile,
- totally comment out the first display screen write/read or exfmt,
- run the validation subroutine against the subfile,
- and display only the second screen to the user.

The first, and only, screen would immediately present the user with the data and with any error messages.



On 9/24/2012 1:40 PM, Vidal, Concepcion wrote:
Good afternoon:

I have this challenge:


1) Program KI100R calls KI101R (both with display files)

2) When program KI101R is called from KI100R, a subfile is displayed immediately with data in it, based on the parameters sent from KI100R.

3) After that is done, the user presses ENTER to validate the data on the screen (any data errors are displayed at this moment) and if everything is OK, then they press ENTER again to process the record.

4) Finally, program control returns to KI100R.


The new business requirement I have is to not to press ENTER on KI101R: they want the program to do it automatically, so these data validations (and any potential errors) can come up automatically. I can certainly try to modify program KI101R to be able to do this in a more elegant way but I have few challenges (due to my time constraints, as always):


a) It was done in Synon - for those who know it, you know that this type of system generated code will not make happy anybody due to its complexity

b) It uses 4 service programs, 3 data areas, 17 files and 22 programs - so I need to be VERY careful while trying to manipulate indicators, flags, etc. as Synon normally does.

So, based on that, I have reviewed CHECK(ER) but there are few comments about it, that I have found so far and I am looking for more insights.

With this scenario: what kind of recommendations or strategies you suggest in this case? Your help is highly appreciated, like always.

Very best regards,
[Description: Ciber Logo and Tagline]
Peter Vidal
SR RPG Developer
4805 Independence Pkwy Tampa, FL 33634
cvidal@xxxxxxxxx<mailto:cvidal@xxxxxxxxx> | www.ciber.com<http://www.ciber.com> | 813.496.6234

CONFIDENTIALITY NOTICE: This message is intended for use only by the individual or entity to which it is addressed and may contain information that is privileged, confidential or exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, you are hereby notified that you are strictly prohibited from reading, disseminating, distributing, or copying this communication. If you have received this communication in error, please notify me immediately at the telephone number indicated above.






As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.