Is there a system way to automatically invoke a program or Procedure
"Voris, John" <[email protected]> Thu, 24 Jan 2008 11:11:54 -0500
| Newsgroups | gmane.comp.systems.as400.code |
|---|---|
| Message-ID | <[email protected]> |
I am writing some Unit-Test software for our shop, and would like to do something in an automated fashion when the screen format is opened. Or when the user presses a function key. I am trying to write these Unit-Test programs with the most minimal code and logic. So I am looking for a "codeless" solution inside the RPG program. A function of "ADDDSPTRG" similar to ADDPFTRG would be great. One option is to overriding the PRINT function with a program (which I believe can be done and may be the most straight-forward). Using a data queue to ultimately hand the Open event back to the display program seems like overkill to me. Are there any other alternatives that anyone can think of? _______________________________________________ This is the CODE/400 Discussion & Support (CODE400-L) mailing list To post a message email: CODE400-L-Zwy7GipZuJhWk0Htik3J/[email protected] To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/code400-l or email: CODE400-L-request-Zwy7GipZuJhWk0Htik3J/[email protected] Before posting, please take a moment to review the archives at http://archive.midrange.com/code400-l. NOTE: WDSc for iSeries discussion has it's own mailing list. Information can be found at http://lists.midrange.com/cgi-bin/listinfo/wdsci-l