Re: Is there a system way to automatically invoke a program or Procedure
Booth Martin <booth-w/2xTlGoySlWk0Htik3J/[email protected]> Thu, 24 Jan 2008 11:04:32 -0600
| Newsgroups | gmane.comp.systems.as400.code |
|---|---|
| Message-ID | <[email protected]> |
One choice would be to record a macro, label it, save it, then play the macro when needed. I've done that for library lists for example. Its not exactly elegant, but it works. It even records your typos and the backspacing to fix the typo. Its fun to watch. Once saved, it is easy to edit, also. Voris, John wrote: > 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 > > > > -- --------------------------------- Booth Martin http://www.Martinvt.com --------------------------------- _______________________________________________ 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