|
Again, thanks to all who contributed to this thread. I hope that I can give it back to you some times. Thomas Raddatz. Rory Hewitt schrieb:
Thomas Raddatz wrote:*OUTFILE is too slow because I have to randomly check for and managespecific entries. Thomas, Unless you're frequently changing the actual entries (by doing ADDBNDDIRE and RMVBNDDIRE), you could write an RPG procedure (and wrap it in a service program) to run the DSPPNDDIR to an OUTFILE and load that into an array, keyed by entry name (hell, you could run it over *all* your *BNDDIR's and put it into an array keyed on BNDDIR name and entry name or however you want). Then you could call this procedure once at the beginning of your job and then call a separate procedure to check in the array for a given entry. Or load the array into a user space, so you only call the load procedure when you change any of your binding directories. There's nothing wrong with MI, but RPG might be simpler, especially if you go to a higher security level. Just a thought :-) Rory _______________________________________________ This is the MI Programming on the AS400 / iSeries (MI400) mailing list To post a message email: MI400@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/mi400 or email: MI400-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/mi400.
As an Amazon Associate we earn from qualifying purchases.
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.